Electronic device and method for wired and wireless charging in electronic device

ABSTRACT

An apparatus for wired and wireless charging of an electronic device are provided. The electronic device includes a housing, a display on a surface of the housing, a battery mounted in the housing, a circuit electrically connected with the battery, a conductive pattern positioned in the housing, electrically connected with the circuit, and configured to wirelessly transmit power to an external device, a connector on another surface of the housing and electrically connected with the circuit, a memory, and a processor electrically connected with the display, the battery, the circuit, the connector, and/or the memory. The circuit is configured to electrically connect the battery with the conductive pattern to wirelessly transmit power to the external device and electrically connect the battery with the connector to transmit power to the external device by wire, simultaneously or selectively, with wirelessly transmitting power to the external device.

CROSS-REFERENCE TO RELATED APPLICATION(S)

This application is a continuation application of prior application Ser.No. 15/240,516, filed on Aug. 18, 2016, which has issued as U.S. Pat.No. 10,199,872 on Feb. 5, 2019 and was based on and claimed priorityunder 35 U.S.C § 119(a) of a Korean patent application number10-2015-0116705, filed on Aug. 19, 2015, in the Korean IntellectualProperty Office, the disclosure of which is incorporated by referenceherein in its entirety.

TECHNICAL FIELD

The present disclosure relates to an electronic device. Moreparticularly, the present disclosure relates to an electronic device anda method for wire and wireless charging of the electronic device.

BACKGROUND

In recent years, advancements in technology, e.g. information andcommunication technology, and semiconductor technology, have enabledvarious electronic devices to be widely used and rapidly disseminated.Some of the more recently developed electronic devices also providemobile communication.

As various portable electronic devices are used, batteries and batterycharging methods affecting performance and usage time of the portableelectronic devices have drawn interest. Accordingly, electronic devicesequipped with wireless charging means, as well as wired charging means,have been provided, and attention has also been directed to anelectronic device that provides both wired and wireless charging.

An electronic device, recently provided, typically includes a chargingcircuit, and the electronic device is connected to a wired chargingdevice, and a power supply path from the wired charging device isconnected to the charging circuit of the electronic device to charge abattery of the electronic device. When the electronic device isconnected with a wireless charging device, a power supply path from thewireless charging device is connected to the charging circuit of theelectronic device, thereby charging the battery of the electronicdevice.

Upon performing an on-the-go (OTG) function between electronic devices,an electronic device operating as a server may supply power to anotherelectronic device working as a client for an operation of the clientdevice. An electronic device may supply power to an external electronicdevice, for example, when a memory is connected to an external connectorof the electronic device to move data, or when a keyboard is connected,such that the electronic device performs a function of receiving a datainput therefrom. However, the electronic device supplies power to theclient electronic device using a path including a charging circuit,which is a reverse path of the path where the electronic device chargesits battery, to enable the client electronic device to perform an OTGfunction. Thus, it is not yet possible to charge a battery or to supplypower to an external device through the battery while performing the OTGfunction. For example, when a USB memory is connected to an OTGconnection unit, the electronic device supplies power to the USB memorythrough the OTG connection unit to bring data, and thus it is limited toreceive external power through the OTG connection unit. Similarly, whena keyboard is connected to an OTG connection unit, the electronic devicesupplies power to the keyboard through the OTG connection unit toreceive a data input therefrom, thereby making it unavailable to receiveexternal power through the OTG connection unit.

A charging circuit of an electronic device of the related art can beconfigured to receive a charging current from a wired charging device ora wireless charging device to charge a battery, but the electronicdevice is not able to provide power of the battery to the wired orwireless charging device.

Accordingly, various embodiments of the present disclosure provide anelectronic device and a method for wired and wireless charging of theelectronic device, in which the electronic device may receive power froman external, wired or wireless, charging device to charge a battery andprovide power of the battery to an external wired or wireless chargingdevice.

Further, various embodiments of the present disclosure provide anelectronic device and a method for wired and wireless charging of theelectronic device, in which the electronic device may provide power ofthe battery to an external wireless device while performing an OTGfunction.

The above information is presented as background information only toassist with an understanding of the present disclosure. No determinationhas been made, and no assertion is made, as to whether any of the abovemight be applicable as prior art with regard to the present disclosure.

SUMMARY

Aspects of the present disclosure are to address at least theabove-mentioned problems and/or disadvantages and to provide at leastthe advantages described. Accordingly, an aspect of the presentdisclosure is to provide an electronic device and a method for wiredlyand wirelessly charging of the electronic device.

In accordance with an aspect of the present disclosure, an electronicdevice is provided. The electronic device includes a housing, a displayon a surface of the housing, a battery mounted in the housing, a circuitelectrically connected with the battery, a conductive pattern positionedin the housing, the conductive pattern electrically connected with thecircuit and configured to wirelessly transmit power to an outside of theelectronic device (e.g., to an external device such as a portableelectronic device), a connector on another surface of the housing andelectrically connected with the circuit, a memory, and a processorelectrically connected with the display, the battery, the circuit, theconnector, or the memory. The circuit may be configured to electricallyconnect the battery with the conductive pattern to wirelessly transmitpower to the external device (such as a portable electronic device) andelectrically connect the battery with the connector to wiredly transmitpower to the external device simultaneously or selectively with thewirelessly transmitting of power to the external device.

In accordance with another aspect of the present disclosure, anelectronic device is provided. The electronic device includes a housing,a power interface connectable with an external power source, a circuitelectrically connected with the power interface, a conductive patternpositioned in the housing, the conductive pattern electrically connectedwith the circuit and configured to wirelessly transmit power to anoutside of the electronic device, and a connector on a surface of thehousing and electrically connected with the circuit. The circuit may beconfigured to electrically connect the power interface with theconductive pattern to wirelessly transmit the power to the externaldevice and electrically connect the power interface with the connectorto wiredly transmit the power to the external device simultaneously orselectively with wirelessly transmitting the power to the externaldevice.

In accordance with another aspect of the present disclosure, anelectronic device is provided. The electronic device includes a housing,a battery mounted in the housing, a circuit electrically connected withthe battery, a conductive pattern positioned in the housing, theconductive pattern electrically connected with the circuit, andconfigured to wirelessly transmit power to an outside of the electronicdevice, and a connector on a surface of the housing, and the conductivepattern electrically connected with the circuit. The circuit isconfigured to electrically connect the battery with the conductivepattern to wirelessly transmit the power to the external device andelectrically connect the battery with the connector to wiredly transmitthe power to the external device, simultaneously or selectively withwirelessly transmitting of the power to the external device.

In accordance with another aspect of the present disclosure, anelectronic device is provided. The electronic device includes a housing,a battery mounted in the housing, a circuit electrically connected withthe battery, a first conductive pattern and a second conductive patternpositioned in the housing, the first and second conductive patternselectrically connected with the circuit and configured to wirelesslytransmit power to an outside of the electronic device or receive thepower from an external source, and a connector on a surface of thehousing and electrically connected with the circuit. The circuit may beconfigured to wirelessly receive first power from the external sourcethrough the second conductive pattern or wiredly receive the first powerfrom the external source through the connector, change a first voltagegenerated by the battery into a second voltage higher than the firstvoltage, transmit a portion of a current generated by the second voltageto the first conductive pattern, and transmit another portion of thecurrent generated by the second voltage to the connector.

In accordance with another aspect of the present disclosure, a method ofoperating an electronic device is provided. The method includesdetermining whether the electronic device is connected with a wirelesspower receiving device and a wired power receiving device, when thewireless power receiving device and the wired power receiving device areconnected, electrically connecting a battery with a conductive patternto wirelessly transmit power to the wirelessly power receiving device,by the electronic device, and while simultaneously transmittingwirelessly power to an external device, electrically connecting thebattery with a connector to wiredly transmit power to the wired powerreceiving device, by the electronic device.

Other aspects, advantages, and salient features of the disclosure willbecome apparent to those skilled in the art from the following detaileddescription, which, taken in conjunction with the annexed drawings,discloses various embodiments of the present disclosure.

BRIEF DESCRIPTION OF THE DRAWINGS

The above and other aspects, features, and advantages of certainembodiments of the present disclosure will be more apparent from thefollowing description taken in conjunction with the accompanyingdrawings, in which:

FIG. 1 is a view illustrating a network environment including anelectronic device according to an embodiment of the present disclosure;

FIG. 2 is a block diagram illustrating an electronic device according toan embodiment of the present disclosure;

FIG. 3 is a block diagram illustrating a program module according to anembodiment of the present disclosure;

FIG. 4 is a diagram illustrating a charging circuit of an electronicdevice according to an embodiment of the present disclosure;

FIGS. 5A, 5B, 5C, 5D, 5E, 5F, 5G, and 5H are views illustrating acharging circuit of an electronic device and an operation of thecharging circuit according to various embodiments of the presentdisclosure;

FIG. 6 is a view illustrating a control operation of a charging circuitof an electronic device according to an embodiment of the presentdisclosure;

FIG. 7 is a view illustrating an operation of an electronic device whena wired power supply device is connected according to an embodiment ofthe present disclosure;

FIG. 8 is a view illustrating an operation of an electronic device whenan on-the-go (OTG) is connected according to an embodiment of thepresent disclosure;

FIG. 9 is a view illustrating an operation of an electronic device whena wireless power supply device is connected according to an embodimentof the present disclosure;

FIG. 10 is a view illustrating an operation of an electronic device whena wireless power supply device and an OTG device are connected accordingto an embodiment of the present disclosure;

FIG. 11 is a view illustrating an operation of an electronic device whena wireless power receiving device is connected according to anembodiment of the present disclosure;

FIG. 12 is a view illustrating an operation of an electronic device whena wired power supply and a wireless power receiving device are connectedaccording to an embodiment of the present disclosure;

FIG. 13 is a view illustrating an operation of an electronic device whenan OTG device and a wireless power receiving device are connectedaccording to an embodiment of the present disclosure;

FIG. 14 is an external perspective view illustrating an electronicdevice according to an embodiment of the present disclosure;

FIG. 15 is a view illustrating a conductive pattern disposed between amain body and a rear cover of an electronic device according to anembodiment of present disclosure;

FIG. 16 is a view illustrating a conductive pattern disposed on a frontcover of an electronic device according to an embodiment of presentdisclosure;

FIGS. 17, 18, 19, and 20 are views illustrating configurations in whichan external device is connected to an electronic device according tovarious embodiments of present disclosure; and

FIGS. 21A, 21B, 21C, 21D, 21E, 22A, 22B, and 23 are views illustrating ascreen displayed on an electronic device according to variousembodiments of the present disclosure.

Throughout the drawings, like reference numerals will be understood torefer to like parts, components, and structures.

DETAIL DESCRIPTION

The following description with reference to the accompanying drawings isprovided to assist in a comprehensive understanding of variousembodiments of the present disclosure as defined by the claims and theirequivalents. It includes various specific details to assist in thatunderstanding but these are to be regarded as merely exemplary.Accordingly, those of ordinary skill in the art will recognize thatvarious changes and modifications of the various embodiments describedherein can be made without departing from the scope and spirit of thepresent disclosure. In addition, descriptions of well-known functionsand constructions may be omitted for clarity and conciseness.

The terms and words used in the following description and claims are notlimited to the bibliographical meanings, but, are merely used by theinventor to enable a clear and consistent understanding of the presentdisclosure. Accordingly, it should be apparent to those skilled in theart that the following description of various embodiments of the presentdisclosure is provided for illustration purpose only and not for thepurpose of limiting the present disclosure as defined by the appendedclaims and their equivalents.

It is to be understood that the singular forms “a,” “an,” and “the”include plural referents unless the context clearly dictates otherwise.Thus, for example, reference to “a component surface” includes referenceto one or more of such surfaces.

As used herein, the terms “have,” “may have,” “include,” or “mayinclude” a feature (e.g., a number, function, operation, or a componentsuch as a part) indicate the existence of the feature and do not excludethe existence of other features.

As used herein, the terms “A or B,” “at least one of A and/or B,” or“one or more of A and/or B” may include all possible combinations of Aand B. For example, “A or B,” “at least one of A and B,” “at least oneof A or B” may indicate all of (1) including at least one A, (2)including at least one B, or (3) including at least one A and at leastone B.

As used herein, the terms “first” and “second” may modify variouscomponents regardless of importance and/or order and are used todistinguish a component from another without limiting the components.For example, a first user device and a second user device may indicatedifferent user devices from each other regardless of the order orimportance of the devices. For example, a first component may be denoteda second component, and vice versa without departing from the scope ofthe present disclosure.

It will be understood that when an element (e.g., a first element) isreferred to as being (operatively or communicatively) “coupled with/to,”or “connected with/to” another element (e.g., a second element), it canbe coupled or connected with/to the other element directly or via athird element. In contrast, it will be understood that when an element(e.g., a first element) is referred to as being “directly coupledwith/to” or “directly connected with/to” another element (e.g., a secondelement), no other element (e.g., a third element) intervenes betweenthe element and the other element.

As used herein, the terms “configured (or set) to” may beinterchangeably used with the terms “suitable for,” “having the capacityto,” “designed to,” “adapted to,” “made to,” or “capable of” dependingon circumstances. The term “configured (or set) to” does not essentiallymean “specifically designed in hardware to.” Rather, the term“configured to” may mean that a device can perform an operation togetherwith another device or parts. For example, the term “processorconfigured (or set) to perform A, B, and C” may mean a generic-purposeprocessor (e.g., a central processing unit (CPU) or applicationprocessor (AP)) that may perform the operations by executing one or moresoftware programs stored in a memory device or a dedicated processor(e.g., an embedded processor) for performing the operations.

It will be further understood that terms, such as those defined incommonly used dictionaries, should be interpreted as having a meaningthat is consistent with their meaning in the context of the relevant artand will not be interpreted in an idealized or overly formal senseunless expressly so defined herein. In some cases, the terms definedherein may be interpreted to exclude various embodiments of the presentdisclosure.

For example, examples of the electronic device according to variousembodiments of the present disclosure may include at least one of asmartphone, a tablet personal computer (PC), a mobile phone, a videophone, an e-book reader, a desktop PC, a laptop computer, a netbookcomputer, a workstation, a personal digital assistant (PDA), a portablemultimedia player (PMP), a Moving Picture Experts Group phase 1 or phase2 (MPEG-1 or MPEG-2) audio layer 3 (MP3) player, a mobile medicaldevice, a camera, or a wearable device. According to an embodiment ofthe present disclosure, the wearable device may include at least one ofan accessory-type device (e.g., a watch, a ring, a bracelet, an anklet,a necklace, glasses, contact lenses, or a head-mounted device (HMD)), afabric- or clothes-integrated device (e.g., electronic clothes), a bodyattaching-type device (e.g., a skin pad or tattoo), or a bodyimplantable device (e.g., an implantable circuit).

According to an embodiment of the present disclosure, the electronicdevice may be a home appliance. Examples of the home appliance mayinclude at least one of a television (TV), a digital versatile disc(DVD) player, an audio player, a refrigerator, an air conditioner, acleaner, an oven, a microwave oven, a washer, a drier, an air cleaner, aset-top box, a home automation control panel, a security control panel,a TV box (e.g., Samsung HomeSync™, Apple TV™, or Google TV™), a gamingconsole (Xbox™, PlayStation™), an electronic dictionary, an electronickey, a camcorder, or an electronic picture frame.

According to an embodiment of the present disclosure, examples of theelectronic device may include at least one of various medical devices(e.g., diverse portable medical measuring devices (a blood sugarmeasuring device, a heartbeat measuring device, or a body temperaturemeasuring device), a magnetic resource angiography (MRA) device, amagnetic resource imaging (MRI) device, a computed tomography (CT)device, an imaging device, or an ultrasonic device), a navigationdevice, a global navigation satellite system (GNSS) receiver, an eventdata recorder (EDR), a flight data recorder (FDR), an automotiveinfotainment device, an sailing electronic device (e.g., a sailingnavigation device or a gyro compass), avionics, security devices,vehicular head units, industrial or home robots, automatic teller'smachines (ATMs), point of sales (POS) devices, or Internet of Thingsdevices (e.g., a bulb, various sensors, an electric or gas meter, asprinkler, a fire alarm, a thermostat, a street light, a toaster,fitness equipment, a hot water tank, a heater, or a boiler).

According to various embodiments of the disclosure, examples of theelectronic device may at least one of part of a piece of furniture orbuilding/structure, an electronic board, an electronic signaturereceiving device, a projector, or various measurement devices (e.g.,devices for measuring water, electricity, gas, or electromagneticwaves). According to an embodiment of the present disclosure, theelectronic device may be one or a combination of the above-listeddevices. According to an embodiment of the present disclosure, theelectronic device may be a flexible electronic device. The electronicdevice disclosed herein is not limited to the above-listed devices, andmay include new electronic devices depending on the development oftechnology.

Hereinafter, electronic devices are described with reference to theaccompanying drawings, according to various embodiments of the presentdisclosure. As used herein, the term “user” may denote a human oranother device (e.g., an artificial intelligent electronic device) usingthe electronic device.

FIG. 1 is a view illustrating a network environment including anelectronic device according to an embodiment of the present disclosure.

Referring to FIG. 1, according to an embodiment of the presentdisclosure, an electronic device 101 is included in a networkenvironment 100. The electronic device 101 may include a bus 110, aprocessor 120, a memory 130, an input/output interface 150, a display160, and a communication interface 170. In some embodiments, theelectronic device 101 may exclude at least one of the components or mayadd another component.

The bus 110 may include a circuit for connecting the components 110 to170 with one another and transferring communications (e.g., controlmessages and/or data) between the components.

The processing module 120 may include one or more of a CPU, an AP, or acommunication processor (CP). The processor 120 may perform control onat least one of the other components of the electronic device 101,and/or perform an operation or data processing relating tocommunication.

The memory 130 may include a volatile and/or non-volatile memory. Forexample, the memory 130 may store commands or data related to at leastone other component of the electronic device 101. According to anembodiment of the present disclosure, the memory 130 may store softwareand/or a program 140. The program 140 may include, e.g., a kernel 141,middleware 143, an application programming interface (API) 145, and/oran application program (or “application”) 147. At least a portion of thekernel 141, middleware 143, or API 145 may be denoted an operatingsystem (OS).

For example, the kernel 141 may control or manage system resources(e.g., the bus 110, processor 120, or a memory 130) used to performoperations or functions implemented in other programs (e.g., themiddleware 143, API 145, or application program 147). The kernel 141 mayprovide an interface that allows the middleware 143, the API 145, or theapplication 147 to access the individual components of the electronicdevice 101 to control or manage the system resources.

The middleware 143 may function as a relay to allow the API 145 or theapplication 147 to communicate data with the kernel 141, for example.

Further, the middleware 143 may process one or more task requestsreceived from the Further, the middleware 143 may process one or moretask requests received from the application program 147 in order ofpriority. For example, the middleware 143 may assign at least one ofapplication programs 147 with priority of using system resources (e.g.,the bus 110, processor 120, or memory 130) of at least one electronicdevice 101. For example, the middleware 143 may perform scheduling orload balancing on the one or more task requests by processing the one ormore task requests according to the priority assigned to the at leastone application program 147.

The API 145 is an interface allowing the application 147 to controlfunctions provided from the kernel 141 or the middleware 143. Forexample, the API 133 may include at least one interface or function(e.g., a command) for filing control, window control, image processingor text control.

The input/output interface 150 may serve as an interface that may, e.g.,transfer commands or data input from a user or other external devices toother component(s) of the electronic device 101. Further, theinput/output interface 150 may output commands or data received fromother component(s) of the electronic device 101 to the user or the otherexternal device.

The input/output interface 150 may serve as an interface that may, e.g.,transfer commands or data input from a user or other external devices toother component(s) of the electronic device 101. Further, theinput/output interface 150 may output commands or data received fromother component(s) of the electronic device 101 to the user or the otherexternal device.

For example, the communication interface 170 may set up communicationbetween the electronic device 101 and an external electronic device(e.g., a first electronic device 102, a second electronic device 104, ora server 106). For example, the communication interface 170 may beconnected with the network 162 through wireless or wired communicationto communicate with the external electronic device.

The wireless communication may be a cellular communication protocol andmay use at least one of, e.g., long-term evolution (LTE), LTE-advanced(LTE-A), code division multiple access (CDMA), wideband CDMA (WCDMA),universal mobile telecommunications system (UMTS), wireless broadband(WiBro), or global system for mobile communications (GSM). Further, thewireless communication may include, e.g., short-range communication 164.The short-range communication 164 may include at least one of Wi-Fi,Bluetooth (BT), near-field communication (NFC), or GNSS. The GNSS mayinclude at least one of, e.g., global positioning system (GPS), globalnavigation satellite system (Glonass), Beidou navigation satellitesystem (hereinafter, “Beidou”) or Galileo, or the European globalsatellite-based navigation system. Hereinafter, the terms “GPS” and the“GNSS” may be interchangeably used herein. The wired connection mayinclude at least one of, e.g., universal serial bus (USB), highdefinition multimedia interface (HDMI), recommended standard (RS)-232,or plain old telephone service (POTS). The network 162 may include atleast one of communication networks, e.g., a computer network (e.g.,local area network (LAN) or wide area network (WAN)), Internet, or atelephone network.

The first and second external electronic devices 102 and 104 each may bea device of the same or a different type from the electronic device 101.According to an embodiment of the present disclosure, the server 106 mayinclude a group of one or more servers. According to an embodiment ofthe present disclosure, all or some of operations executed on theelectronic device 101 may be executed on another or multiple otherelectronic devices (e.g., the electronic devices 102 and 104 or server106). According to an embodiment of the present disclosure, when theelectronic device 101 should perform some function or serviceautomatically or at a request, the electronic device 101, instead ofexecuting the function or service on its own or additionally, mayrequest another device (e.g., electronic devices 102 and 104 or server106) to perform at least some functions associated therewith. The otherelectronic device (e.g., electronic devices 102 and 104 or server 106)may execute the requested functions or additional functions and transfera result of the execution to the electronic device 101. The electronicdevice 101 may provide a requested function or service by processing thereceived result as it is or additionally. To that end, a cloudcomputing, distributed computing, or client-server computing techniquemay be used, for example.

FIG. 2 is a block diagram illustrating an electronic device 201according to an embodiment of the present disclosure. The electronicdevice 201 may include the whole or part of the configuration of, e.g.,the electronic device 101 shown in FIG. 1.

Referring to FIG. 2, the electronic device 201 may include one or moreprocessors (e.g., APs) 210, a communication module 220, a subscriberidentification module (SIM) 224, a memory 230, a sensor module 240, aninput device 250, a display 260, an interface 270, an audio module 280,a camera module 291, a power management module 295, a battery 296, anindicator 297, and a motor 298.

The processor 210 may control multiple hardware and software componentsconnected to the processor 210 by running, e.g., an OS or applicationprograms, and the processor 210 may process and compute various data.The processor 210 may be implemented in, e.g., a system on chip (SoC).According to an embodiment of the present disclosure, the processor 210may further include a graphics processing unit (GPU) and/or an imagesignal processor. The processor 210 may include at least some (e.g., thecellular module 221) of the components shown in FIG. 2. The processor210 may load a command or data received from at least one of othercomponents (e.g., a non-volatile memory) on a volatile memory, processthe command or data, and store various data in the non-volatile memory.

The communication module 220 may have the same or similar configurationto the communication interface 170 of FIG. 1. The communication module220 may include, e.g., a cellular module 221, a Wi-Fi module 223, a BTmodule 225, a GNSS module 227 (e.g., a GPS module, a Glonass module, aBeidou module, or a Galileo module), an NFC module 228, and a radiofrequency (RF) module 229.

The cellular module 221 may provide voice call, video call, text, orInternet services through, e.g., a communication network. The cellularmodule 221 may perform identification or authentication on theelectronic device 201 in the communication network using a SIM 224(e.g., the SIM card). According to an embodiment of the presentdisclosure, the cellular module 221 may perform at least some of thefunctions providable by the processor 210. According to an embodiment ofthe present disclosure, the cellular module 221 may include a CP.

The Wi-Fi module 223, the BT module 225, the GNSS module 227, or the NFCmodule 228 may include a process for, e.g., processing data communicatedthrough the module. According to an embodiment of the presentdisclosure, at least some (e.g., two or more) of the cellular module221, the Wi-Fi module 223, the BT module 225, the GNSS module 227, orthe NFC module 228 may be included in a single integrated circuit (IC)or an IC package. According to an embodiment of the present disclosure,the Wi-Fi module 223, the BT module 225, the GNSS module 227, or the NFCmodule 228 each may connect the electronic device 101 with other devices(e.g., electronic devices 102 and 104 or server 106) throughcommunication.

The RF module 229 may communicate data, e.g., communication signals(e.g., RF signals). The RF module 229 may include, e.g., a transceiver,a power amplifier module (PAM), a frequency filter, a low noiseamplifier (LNA), or an antenna. According to an embodiment of thepresent disclosure, at least one of the cellular module 221, the Wi-Fimodule 223, the BT module 225, the GNSS module 227, or the NFC module228 may communicate RF signals through a separate RF module.

The subscription identification module 224 may include, e.g., a cardincluding a SIM and/or an embedded SIM, and may contain uniqueidentification information (e.g., an integrated circuit card identifier(ICCID) or subscriber information (e.g., an international mobilesubscriber identity (IMSI)).

The memory 230 (e.g., the memory 130) may include, e.g., an internalmemory 232 or an external memory 234. The internal memory 232 mayinclude at least one of, e.g., a volatile memory (e.g., a dynamic randomaccess memory (DRAM), a static RAM (SRAM), a synchronous dynamic RAM(SDRAM), etc.) or a non-volatile memory (e.g., a one-time programmableread only memory (OTPROM), a programmable ROM (PROM), an erasable andprogrammable ROM (EPROM), an electrically erasable and programmable ROM(EEPROM), a mask ROM, a flash ROM, a flash memory (e.g., a NAND flash,or a NOR flash), a hard drive, or solid state drive (SSD).

The external memory 234 may include a flash drive, e.g., a compact flash(CF) memory, a secure digital (SD) memory, a micro-SD memory, a mini-SDmemory, an extreme digital (xD) memory, a multi-media card (MMC), or amemory Stick™. The external memory 234 may be functionally and/orphysically connected with the electronic device 201 via variousinterfaces.

For example, the sensor module 240 may measure a physical quantity ordetect a motion state of the electronic device 201, and the sensormodule 240 may convert the measured or detected information into anelectrical signal. The sensor module 240 may include at least one of,e.g., a gesture sensor 240A, a gyro sensor 240B, an atmospheric pressuresensor 240C, a magnetic sensor 240D, an acceleration sensor 240E, a gripsensor 240F, a proximity sensor 240G, a color (RGB) sensor 240H (e.g., ared-green-blue (RGB) sensor, a biometric sensor 240I, atemperature/humidity sensor 240J, an illumination sensor 240K, or anultraviolet (UV) sensor 240M. Additionally, or alternatively, thesensing module 240 may include additional elements (not shown), e.g., anelectronic nose (E-nose) sensor, an electromyography (EMG) sensor, anelectroencephalogram (EEG) sensor, an electrocardiogram (ECG) sensor, aninfrared (IR) sensor, an iris sensor, or a finger print sensor. Thesensor module 240 may further include a control circuit for controllingat least one or more of the sensors included in the sensing module.According to an embodiment of the present disclosure, the electronicdevice 201 may further include a processor configured to control thesensor module 240 as part of the processor 210 or separately from theprocessor 210, and the electronic device 2701 may control the sensormodule 240 while the processor 210 is in a sleep mode.

The input unit 250 may include, e.g., a touch panel 252, a pen sensor(digital pen) 254, a key 256, or an ultrasonic input device 258. Thetouch panel 252 may use at least one of capacitive, resistive, infrared,or ultrasonic methods. The touch panel 252 may further include a controlcircuit. The touch panel 252 may further include a tactile layer and mayprovide a user with a tactile reaction.

The pen sensor 254 may include, e.g., a part of a touch panel or aseparate sheet for recognition. The key 256 may include e.g., a physicalbutton, optical key or key pad. The ultrasonic input device 258 maysense an ultrasonic wave generated from an input tool through amicrophone (e.g., the microphone 288) to identify data corresponding tothe sensed ultrasonic wave.

The display 260 (e.g., the display 160) may include a panel 262, ahologram device 264, or a projector 266. The panel 262 may have the sameor similar configuration to the display 160 of FIG. 1. The panel 262 maybe implemented to be flexible, transparent, or wearable. The panel 262may also be incorporated with the touch panel 252 in a module. Thehologram device 264 may make three dimensional (3D) images (holograms)in the air by using light interference. The projector 266 may display animage by projecting light onto a screen. The screen may be, for example,located inside or outside of the electronic device 201. In accordancewith an embodiment, the display 260 may further include a controlcircuit to control the panel 262, the hologram device 264, or theprojector 266.

The interface 270 may include e.g., a HDMI 272, an USB 274, an opticalinterface 276, or a D-subminiature (D-sub) 278. The interface 270 may beincluded in e.g., the communication interface 170 shown in FIG. 1.Additionally, or alternatively, the interface 270 may include a mobilehigh-definition link (MHL) interface, an SD card/MMC interface, orinfrared data association (IrDA) standard interface.

The audio module 280 may convert a sound into an electric signal or viceversa, for example. At least a part of the audio module 280 may beincluded in e.g., the input/output interface 145 as shown in FIG. 1. Theaudio module 280 may process sound information input or output throughe.g., a speaker 282, a receiver 284, an earphone 286, or a microphone288.

For example, the camera module 291 may be a device for recording stillimages and videos, and may include, according to an embodiment of thepresent disclosure, one or more image sensors (e.g., front and backsensors), a lens, an image signal processor (ISP), or a flash such as alight emitting diode (LED) or xenon lamp.

The power manager module 295 may manage power of the electronic device201, for example. According to an embodiment of the present disclosure,the power management module 295 may include a circuit for charging thebattery 296. Although not shown, according to an embodiment of thepresent disclosure, the power manager module 295 may include a powermanagement Integrated circuit (PMIC), a charger IC, or a battery or fuelgauge. The PMIC may have a wired and/or wireless recharging scheme. Thewireless charging scheme may include e.g., a magnetic resonance scheme,a magnetic induction scheme, or an electromagnetic wave based scheme,and an additional circuit, such as a coil loop, a resonance circuit, arectifier, or the like may be added for wireless charging. The batterygauge may measure an amount of remaining power of the battery 296, avoltage, a current, or a temperature while the battery 296 is beingcharged. The battery 296 may include, e.g., a rechargeable battery or asolar battery.

The indicator 297 may indicate a particular state of the electronicdevice 201 or a part (e.g., the processor 210) of the electronic device,including e.g., a booting state, a message state, or recharging state.The motor 298 may convert an electric signal to a mechanical vibrationand may generate a vibrational or haptic effect. Although not shown, aprocessing unit for supporting mobile TV, such as a GPU may be includedin the electronic device 201. The processing unit for supporting mobileTV may process media data conforming to a standard for digitalmultimedia broadcasting (DMB), digital video broadcasting (DVB), ormediaFlo™.

Each of the aforementioned components of the electronic device mayinclude one or more parts, and a name of the part may vary with a typeof the electronic device. The electronic device in accordance withvarious embodiments of the present disclosure may include at least oneof the aforementioned components, omit some of them, or include otheradditional component(s). Some of the components may be combined into anentity, but the entity may perform the same functions as the componentsmay do.

FIG. 3 is a block diagram illustrating a program module according to anembodiment of the present disclosure.

Referring to FIG. 3, according to an embodiment of the presentdisclosure, the program module 310 (e.g., the program 140) may includean OS controlling resources related to the electronic device (e.g., theelectronic device 101) and/or various applications (e.g., the AP 147)driven on the OS. The OS may include, e.g., Android™, iOS™, Windows™,Symbian™, Tizen™, or Bada™.

The program 310 may include, e.g., a kernel 320, middleware 330, an API360, and/or an application 370. At least a part of the program module310 may be preloaded on the electronic device or may be downloaded froman external electronic device (e.g., the electronic devices 102 and 104or server 106).

The kernel 320 (e.g., the kernel 141) may include, e.g., a systemresource manager 321 and/or a device driver 323. The system resourcemanager 321 may perform control, the kernel 320 (e.g., the kernel 141)may include, e.g., a system resource manager 321 and/or a device driver323. The system resource manager 321 may perform control, allocation, orrecovery of system resources. According to an embodiment of the presentdisclosure, the system resource manager 321 may include a processmanaging unit, a memory managing unit, or a file system managing unit.The device driver 323 may include, e.g., a display driver, a cameradriver, a BT driver, a shared memory driver, a USB driver, a keypaddriver, a Wi-Fi driver, an audio driver, or an inter-processcommunication (IPC) driver.

The middleware 330 may provide various functions to the application 370through the API 360 so that the application 370 may efficiently uselimited system resources in the electronic device or provide functionsjointly required by applications 370. According to an embodiment of thepresent disclosure, the middleware 330 (e.g., the middleware 143) Themiddleware 330 may provide various functions to the application 370through the API 360 so that the application 370 may efficiently uselimited system resources in the electronic device or provide functionsjointly required by applications 370. According to an embodiment of thepresent disclosure, the middleware 330 (e.g., the middleware 143) mayinclude at least one of a runtime library 335, an application manager341, a window manager 342, a multimedia manager 343, a resource manager344, a power manager 345, a database manager 346, a package manager 347,a connectivity manager 348, a notification manager 349, a locationmanager 350, a graphic manager 351, or a security manager 352.

The runtime library 335 may include a library module used by a compilerin order to add a new function through a programming language while,e.g., the application 370 is being executed. The runtime library 335 mayperform input/output management, memory management, or operation onarithmetic functions.

The application manager 341 may manage the life cycle of at least oneapplication of, e.g., the applications 370. The window manager 342 maymanage graphical user interface (GUI) resources used on the screen. Themultimedia manager 343 may grasp formats necessary to play various mediafiles and use a codec appropriate for a format to perform encoding ordecoding on media files. The resource manager 344 may manage resources,such as the source code of at least one of the applications 370, memoryor storage space.

The power manager 345 may operate together with, e.g., a basicinput/output system (BIOS) to manage battery or power and provide powerinformation necessary for operating the electronic device. The databasemanager 346 may generate, search, or vary a database to be used in atleast one of the applications 370. The package manager 347 may manageinstallation or update of an application that is distributed in the formof a package file.

The connectivity manager 348 may manage wireless connectivity, such as,e.g., Wi-Fi or BT. The notification manager 349 may display or notify anevent, such as a coming message, appointment, or proximity notification,of the user without interfering with the user. The location manager 350may manage locational information on the electronic device. The graphicmanager 351 may manage graphic effects to be offered to the user andtheir related user interface. The security manager 352 may providevarious security functions necessary for system security or userauthentication. According to an embodiment of the present disclosure,when the electronic device (e.g., the electronic device 101) hastelephony capability, the middleware 330 may further include a telephonymanager for managing voice call or video call functions of theelectronic device.

The middleware 330 may include a middleware module forming a combinationof various functions of the above-described components. The middleware330 may provide a specified module per type of the OS in order toprovide a differentiated function. Further, the middleware 330 maydynamically omit some existing components or add new components.

The API 360 (e.g., the API 145) may be a set of, e.g., API programmingfunctions and may have different configurations depending on OSs. Forexample, in the case of Android or iOS, one API set may be provided perplatform, and in the case of Tizen, two or more API sets may be offeredper platform.

The application 370 (e.g., the AP 147) may include one or moreapplications that may provide functions such as, e.g., a home 371, adialer 372, a short message service (SMS)/multimedia messaging service(MMS) 373, an instant message (IM) 374, a browser 375, a camera 376, analarm 377, a contact 378, a voice dial 379, an email 380, a calendar381, a media player 382, an album 383, or a clock 384, a health-care(health 385) (e.g., measuring the degree of workout or blood sugar), orprovision of environmental information (environment 386) (e.g.,provision of air pressure, moisture, or temperature information).

According to an embodiment of the present disclosure, the application370 may include an application (hereinafter, “information exchangingapplication” for convenience) supporting information exchange betweenthe electronic device (e.g., the electronic device 101) and an externalelectronic device (e.g., the electronic devices 102 and 104). Examplesof the information exchange application may include, but is not limitedto, a notification relay application for transferring specificinformation to the external electronic device, or a device managementapplication for managing the external electronic device.

For example, the notification relay application may include a functionfor relaying notification information generated from other applicationsof the electronic device (e.g., the SMS/MMS application, emailapplication, health-care application, or environmental informationapplication) to the external electronic device (e.g., the electronicdevices 102 and 104). Further, the notification relay application mayreceive notification information from, e.g., the external electronicdevice and may provide the received notification information to theuser.

The device management application may perform at least some functions ofthe external electronic device (e.g., the electronic device 102 or 104)communicating with the electronic device (for example, turning on/offthe external electronic device (or some components of the externalelectronic device) or control of brightness (or resolution) of thedisplay), and the device management application may manage (e.g.,install, delete, or update) an application operating in the externalelectronic device or a function (e.g., calling function or messagingfunction) provided from the external electronic device.

According to an embodiment of the present disclosure, the application370 may include an application (e.g., a health-care application of amobile medical device) designated according to an attribute of theexternal electronic device (e.g., the electronic devices 102 and 104).

According to an embodiment of the present disclosure, at least a part ofthe program module 310 may be implemented in software, firmware,hardware, or in a combination of two or more thereof. At least a part ofthe programming module 310 may be implemented (e.g., executed) by e.g.,a processor (e.g., the processor 210). At least a part of the programmodule 310 may include e.g., a module, program, routine, set ofinstructions, process, or the like for performing one or more functions.

According to an embodiment of the present disclosure, an electronicdevice may include a housing, a battery mounted in the housing, acircuit electrically connected with the battery, a conductive patternconfigured to be positioned in the housing, electrically connected withthe circuit, and wirelessly transmit power to an outside of theelectronic device, and a connector exposed through a surface of thehousing, and electrically connected with the circuit. The circuit may beconfigured to electrically connect the battery with the conductivepattern to wirelessly transmit the power to the outside and electricallyconnect the battery with the connector to wiredly transmit the power tothe outside simultaneously or selectively with wirelessly transmittingthe power to the outside.

According to an embodiment of the present disclosure, the circuit may beconfigured to change a first voltage generated by the battery into asecond voltage higher than the first voltage, transmit a portion of acurrent generated by the second voltage to the conductive pattern, andtransmit another portion of the current generated by the second voltageto the connector.

According to an embodiment of the present disclosure, the connector mayfurther comprise a quick charging interface configured to charge anotherbattery included in an external device to a voltage level selected froma plurality of voltage levels, and wherein the quick charging interfaceis electrically connected with the connector and/or the conductivepattern.

According to an embodiment of the present disclosure, the circuit may beconfigured to receive information on charging from the external deviceand select the selected voltage level from the plurality of voltagelevels based on the received information.

According to an embodiment of the present disclosure, the circuit may beconfigured to wirelessly or wiredly transmit power to the outside basedon a user input.

According to an embodiment of the present disclosure, the circuit maydisplay information related to an external device on the display basedon a signal received from the external device through the connector.

According to an embodiment of the present disclosure, the circuit maycomprise a first control circuit controlling a current flow with anexternal device connected through the connector, a second controlcircuit controlling a current flow with the conductive pattern, and athird control circuit electrically connected with the first controlcircuit, the second control circuit, and the battery. The third controlcircuit may be configured to change a voltage and/or a current from thebattery and provide the voltage and/or the current to the first controlcircuit and/or the second control circuit.

According to an embodiment of the present disclosure, at least one ofthe first control circuit or the second control circuit may include atleast one switching element electrically connected between the connectoror the third control circuit and the conductive pattern.

According to an embodiment of the present disclosure, the at least oneswitching element may include at least two transistor elements connectedin series between the connector or the third control circuit and theconductive pattern.

According to an embodiment of the present disclosure, the third controlcircuit may include a buck/boost converter and a logic circuitcontrolling the converter.

According to an embodiment of the present disclosure, the third controlcircuit may further include a charging switching circuit electricallyconnected between the buck/boost converter and the battery. The logiccircuit may control the charging switching circuit to preventover-charging or over-discharging of the battery.

According to an embodiment of the present disclosure, the memory maystore an instruction executed to enable the processor to, when theelectronic device is connected with an external wireless power supplydevice and an on-the-go (OTG) device, allow the electronic device toreceive power from the external wireless power supply device to chargethe battery and simultaneously to perform an OTG function.

According to an embodiment of the present disclosure, the memory maystore an instruction executed to enable the processor to, when theelectronic device is connected with a wired power supply device and awireless power receiving device, allow the electronic device to receivepower from the wired power supply device to charge the battery andsimultaneously to supply power to the wireless power receiving device.

According to an embodiment of the present disclosure, the memory maystore an instruction executed to enable the processor to, when theelectronic device is connected with an external wireless power receivingdevice and an OTG device, allow the electronic device to supply power tothe wireless power receiving device using the battery and simultaneouslyto perform an OTG function.

According to an embodiment of the present disclosure, the circuit mayinclude at least one of a general process, a microprocessor, a logiccircuit, firmware, an application program, or an IC.

According to an embodiment of the present disclosure, the electronicdevice may comprise a housing, a power interface connectable with anexternal power source, a circuit electrically connected with the powerinterface, a conductive pattern positioned in the housing, electricallyconnected with the circuit, and configured to wirelessly transmit powerto an outside of the electronic device, and a connector exposed througha surface of the housing and electrically connected with the circuit.The circuit may be configured to electrically connect the powerinterface with the conductive pattern to wirelessly transmit the powerto the outside and electrically connect the power interface with theconnector to wiredly transmit the power to the outside simultaneously orselectively with wirelessly transmitting the power to the outside.

According to an embodiment of the present disclosure, an electronicdevice may comprise a housing, a battery mounted in the housing, acircuit electrically connected with the battery, a conductive patternpositioned in the housing, electrically connected with the circuit, andconfigured to wirelessly transmit power to an outside of the electronicdevice, and a connector exposed through a surface of the housing, andelectrically connected with the circuit. The circuit is configured toelectrically connect the battery with the conductive pattern towirelessly transmit the power to the outside and electrically connectthe battery with the connector to wiredly transmit the power to theoutside simultaneously or selectively with wirelessly transmitting thepower to the outside.

According to an embodiment of the present disclosure, an electronicdevice may comprise a housing, a battery mounted in the housing, acircuit electrically connected with the battery, a first conductivepattern and a second conductive pattern positioned in the housing,electrically connected with the circuit, and configured to wirelesslytransmit power to an outside of the electronic device or receive thepower from the outside, and a connector exposed through a surface of thehousing and electrically connected with the circuit. The circuit may beconfigured to wirelessly receive first power from the outside throughthe second conductive pattern or wiredly receive the first power fromthe outside through the connector, change a first voltage generated bythe battery into a second voltage higher than the first voltage,transmit a portion of a current generated by the second voltage to thefirst conductive pattern, and transmit another portion of the currentgenerated by the second voltage to the connector.

FIG. 4 is a diagram illustrating a charging circuit in an electronicdevice according to an embodiment of the present disclosure.

Referring to FIG. 4, according to an embodiment of the presentdisclosure, an electronic device 401 may include a battery 410, a wiredinterface 421, a wireless interface 425, and a charging circuit 430.

The battery 410 may be mounted in a housing of the electronic device andmay be charged. The battery 410 may include, but not limited to, arechargeable battery and/or a solar battery.

The wired interface 421 and the wireless interface 425 may be mounted ina portion of the housing of the electronic device and may berespectively connected to an external device. The wired interface 421may include a connector 421-1, e.g., for an USB and the wired interface421 may be wiredly connected with a first external device 41 through theconnector 421-1. The wireless interface 425 may include a coil 425-1(also known as a “conductive pattern”) and a transmit/receive integratedchip (TRX IC) 425-2 and the wireless interface 425 may wirelesslytransmit or receive power from a second external device 42 through theconductive pattern 425-1 and the TRX IC 425-2. Wireless power may betransmitted and received using a wireless power transmission methodincluding a magnetic inductive coupling method, a resonance couplingmethod, or a combination thereof. According to an embodiment of thepresent disclosure, the conductive pattern 425-1 may include a firstconductive pattern for transmitting wireless power and a secondconductive pattern for receiving wireless power.

The first external device 41 may be an external device connectable via awired manner including a wired power supply device, a wired powerreceiving device, or an on-the-go (OTG) device. The OTG device may be adevice performing an OTG function in which the OTG device is connectedto an electronic device to transfer data, such as, a PDA, an MP3 player,a mobile phone, a mouse, a keyboard, an USB memory, and a health careaccessory. The wired power supply device may be a device, e.g., a traveladapter (TA), which is wiredly connected to the electronic device tosupply power thereto. The wired power receiving device may be a devicewiredly connected to receive power from the electronic device and chargeother batteries provided in the wired power receiving device. Accordingto an embodiment of the present disclosure, the first external deviceconnected to the electronic device 401 through the wired interface 421may include a wired high voltage (HV) device (e.g., a device supportingan adaptive fast charge (AFC)). When a wired HV device is connected tothe connector, power having a higher voltage (e.g., 9 V) than a voltagesupplied from the battery 410 (e.g., 5 V) may be supplied to or receivedfrom the wired HV device.

The second external device 42 may include a wireless power supply deviceor a wireless power receiving device. According to an embodiment of thepresent disclosure, the wireless power supply device may be a device,e.g., a wireless charging pad, for supplying wireless power to theelectronic device using the first conductive pattern. The wireless powerreceiving device may be a device that receives wireless power suppliedfrom the electronic device using the second conductive pattern and usesthe received wireless power to charge other batteries included in thewireless power receiving device. According to an embodiment of thepresent disclosure, the second external device 42 connected to anelectronic device 401 through the wireless interface 425 may include awireless HV device (e.g., a device supporting an AFC). According to anembodiment of the present disclosure, the wireless HV device may includea wireless charging pad supporting quick charging. The wireless chargingpad may determine whether to perform the quick charging by communicatingwith the TRX IC 425-2 through inband communication, or may determinewhether to perform the quick charging by using a separate communicationmodule (e.g., BT or Zigbee). For example, the electronic device 401 maysend a request for, e.g., HV charging of 9V, to a wireless charging padthrough the TRX IC 425-2. The wireless charging pad may determine apossibility of the quick charging through communication with theelectronic device 401 according to the request for HV charging from theelectronic device 401. When the quick charging is available, thewireless charging pad may supply 9 V of power to the electronic device401.

The charging circuit 430 may be electrically connected with the battery410 and the charging circuit 430 may be configured to electricallyconnect the battery 410 with the wired interface 421, and toelectrically connect the battery 410 with the wireless interface 425.The charging circuit 430 may be configured to electrically connect thebattery 410 with the conductive pattern (e.g., the first conductivedevice) to wirelessly transmit power to the second external device 42(e.g., the wireless power receiving device). Simultaneously, thecharging circuit 430 may be configured to connect the battery 410 withthe connector to wiredly transmit power to the first external device 41(e.g., the wired power receiving device). For example, the chargingcircuit 430 may change first power generated by the battery into secondpower higher than the first power, such that the charging circuit 430may transmit third power that is at least a portion of the second powerto the wireless power receiving device through the first conductivepattern and transmit fourth power that is at least a portion of thesecond power to an OTG device or a wired power receiving device throughthe connector. Further, the charging circuit 430 may transmit the thirdpower that is at least a portion of the second power to an externalwireless power receiving device through the first conductive pattern,and simultaneously transmit the fourth power that is at least a portionof the second power to an OTG device or a wired power receiving devicethrough the connector.

According to an embodiment of the present disclosure, the chargingcircuit 430 may include an interface controller 429, a second switch434, a first switch 432, a control logic 436, a switch group 438, and acharging switch 439.

The interface controller 429 may determine a type of the first externaldevice 41 connected to the wired interface 421 and determine whether thequick charging is supported through adaptive fast charge (AFC)communication with the first external device 41. According to anembodiment of the present disclosure, the interface controller 429 mayinclude a micro sub interface IC (MUIC) or an AFC interface. Forexample, the AFC interface may determine whether the quick charging issupported through AFC communication with the first external device 41.When the quick charging is supported, the first external device 41 mayincrease transmitting/receiving power. For example, when the firstexternal device 41 is a wired power supply device typically transmitting10 W of power (10 W=5 V*2 A), when the quick charging is supported, 18 W(18 W=9V*2 A) of power may be transmitted.

The first switch 432 may include at least one or more switches. Thefirst switch 432 may control a power output to a device, e.g., an OTGdevice, which is connected through the wired interface 421, e.g., theconnector 421-1, or to the wired power receiving device. The firstswitch 432 may control a power input from the wired power supply device.For example, the first switch 432 may be turned on to allow power to beoutputted to a device, e.g., the OTG device connected via the wiredinterface 421, for example, the connector 421-1. For example, the firstswitch 432 may be turned “on” to allow the power output to a device,e.g. the OTG device or the wired power receiving device, and the powerinput from the wired power supply device. The first switch 432 may beturned “off” to prevent the power output to a device, e.g. the OTGdevice or the wired power receiving device, and the power input from thewired power supply device.

The second switch 434 may include at least one or more switches. Thesecond switch 434 may control a power input and a power output from.e.g., the wireless power supply device and the wireless power receivingdevice through the wireless interface 425, e.g., the conductive pattern425-1 and the TRX IC 425-2. For example, the second switch 434 may beturned “on” to enable the power input and output from. e.g., the wiredpower receiving device or the wired power supply device. The secondswitch 434 may be turned “off” to prevent the power input and outputfrom. e.g., the wired power receiving device or the wired power supplydevice.

The control logic 436 may perform a control to convert power inputtedfrom at least one of the first switch 432 and the second switch 434 intoa charging voltage or current suitable for charging the battery 410. Thecontrol logic 436 may control power from the battery 410 to be convertedinto a charging voltage or current appropriate for charging otherbatteries of the external device connected to the first switch 432 andthe second switch 434, respectively. The control logic 436 may controlpower from the battery 410 to be converted into a charging voltage orcurrent suitable to be used in an external device.

The control logic 436 may perform a charging current sensing function, acharging cut off function, a constant current (CC) loop function, aconstant voltage (CV) loop function, a termination current loopfunction, a recharging loop function, and a Bat to Sys FET loopfunction. The charging current sensing function may be a function todetect a charging current. The charging cut off function may be afunction that stops charging the battery 410 upon overcharging oroverheating. The CC loop function may be a function of controlling theCC range in which the charging current is constant. The CV loop functionmay be a function of controlling the CV range in which the chargingvoltage is constant. The termination current loop function may be afunction of controlling a termination of charging. The recharging loopfunction may be a function of controlling a recharging. The Bat to SysFET loop function may be a function of controlling the voltage andcurrent between the battery 410 and the system 420.

According to an embodiment of the present disclosure, the control logic436 may control the charging circuit 430 to selectively transmit powerof the battery 410 in a wireless or wired manner to the outside.Further, the control logic 436 may transmit power to the first externaldevice 41 and/or the second external device 42 through the chargingcircuit 430, or may receive power from the first external device 41and/or the second external device 42 through the charging circuit 430.

According to an embodiment of the present disclosure, the control logic436 may control the battery 410 to be charged using power received fromthe wired power supply device when the wired power supply device isconnected. Further, the control logic 436 may control the OTG device toperform an OTG function when the OTG device is connected. Further, thecontrol logic 436 may control the battery 410 to be charged by receivingthe power from the wireless power supply device. Further, the controllogic 436 may control charging the battery 410 and performing the OTGfunction by receiving the power from the wireless power supply devicewhen the wireless power supply device and the OTG device are connected.Further, the control logic 436 may be control supplying power to thewireless power receiving device using the power of the battery 410 whenthe wireless power receiving device is connected. Further, the controllogic 436 may control receiving power from the wired power supply deviceto charge the battery 410 and simultaneously supplying power to thewireless power receiving device, when the wired power supply device andthe wireless power receiving device are connected. The control logic 436may control performing the OTG function and simultaneously supplyingpower to the wireless power receiving device using the power of thebattery, when the OTG device and the wireless power receiving device areconnected.

The switch group 428 may provide a CC to a system (e.g., a system forsupplying power to each module of the electronic device). The switchgroup 428 may boost or buck a voltage of the battery 410 to supply a CCto the connected external device, or may boost or buck a suppliedcharging voltage to supply constant charging current to the battery 410.According to an embodiment of the present disclosure, the switch group428 may include a buck/boost converter.

The charging switch 439 may detect a charging current amount and mayblock charging of the battery 410 upon overcharging or overheating.

According to an embodiment of the present disclosure, the electronicdevice 401 may include a display. The display may display a userinterface that is configured to control at least a portion of thecharging circuit 430. The display may receive a user input to wirelesslyor wiredly transmit power from the battery 410 to an external device.The display may display at least one or more external devices connectedto the electronic device 401 and may display remaining battery power ofthe external device. Further, the display may display whether power issupplied to the connected external device or power is receivedtherefrom. The display may be connected with a plurality of externaldevices. When power is respectively supplied to a plurality of theexternal devices, the display may display a screen capable of adjustingdistribution of power respectively provided to a plurality of theexternal devices. The display may display a screen capable of selectinga priority for providing power to a plurality of the external devices.Further, the display may display a screen capable of displayinginformation on the display of the connected external device. At least aportion of the content displayed on the display may be changed accordingto a signal received from the connected external device.

FIGS. 5A, 5B, 5C, 5D, 5E, 5F, 5G, and 5H are views illustrating acharging circuit and an operation of the charging circuit in anelectronic device according to various embodiments of the presentdisclosure.

Referring to FIG. 5A, a charging circuit 530 may be configured toelectronically connect a battery 510 with a wired interface 521 andconnect a battery 510 with a wireless interface 525. According to anembodiment of the present disclosure, the charging circuit 530 mayinclude an interface controller 529, a first switch 540, a second switch550, a control logic 560, a switch group 562, and a charging switch 564.

The interface controller 529 may determine a type of the first externaldevice connected to the wired interface 421 and determine whether thefirst external device supports quick charging According to an embodimentof the present disclosure, the interface controller 529 may include aMUIC or an AFC interface. For example, the MUIC may determine whetherthe first external device connected with the wired interface 521 is awired power supply device, a wired power receiving device or the OTGdevice. For example, the AFC interface may determine whether the quickcharging is supported through AFC communication with the first externaldevice 41. When the quick charging is supported, the first externaldevice 41 may increase transmitting/receiving power.

The first switch 540 may include a 1-1 switch Q1 and a 1-2 switch Q2,and may control an input and output of power through the wired interface521 by using an “on” or “off” operation of the 1-1 switch Q1 and the 1-2switch Q2. For example, when the 1-1 switch Q1 and the 1-2 switch Q2 isturned on, the input and output of the power to the external deviceconnected through the wired interface 521 may be possible. When the 1-1switch Q1 and the 1-2 switch Q2 is turned off, the input and output ofthe power to the external device connected through the wired interface521 may be impossible. According to an embodiment of the presentdisclosure, the 1-1 switch Q1 and the 1-2 switch Q2 may be configured tobe in a back to back manner, e.g., arranged to face each other, therebypreventing power from flowing into the second switch 550.

The second switch 550 may include a 2-1 switch Q3 and a 2-2 switch Q4,and may control a power input and a power output through the wiredinterface 521 by using an “on” or “off” operation of the 2-1 switch Q3and the 2-2 switch Q4. For example, when the 2-1 switch Q3 and the 2-2switch Q4 is turned on, the input/output of the power to the externaldevice connected through the wireless interface 525 may be possible.When the 2-1 switch Q3 and the 2-2 switch Q4 is turned off, theinput/output of the power to the external device connected through thewireless interface 525 may be impossible. According to an embodiment ofthe present disclosure, the 2-1 switch Q3 and the 2-2 switch Q4 may beconfigured to be in a back to back manner, e.g., arranged to face eachother, thereby preventing power from flowing into the first switch 540.

The control logic 560 may perform a control to convert power inputtedfrom at least one of the first switch 540 and the second switch 550 intoa charging voltage or current appropriate for charging the battery 510.The control logic 560 may control power from the battery 510 to beconverted into a charging voltage or current appropriate for chargingother batteries of the external device connected with the first switch540 and the second switch 550, respectively.

For example, the control logic 560 may change first power generated bythe battery to second power higher than the first power level, or maycontrol the switch group 562 to convert the first power into the secondpower. Further, the control logic 560 may control the 1-1 switch Q1 andthe 1-2 switch Q2 to transmit and receive third power through the wiredinterface 521, and may control the 2-1 switch Q3 and the 2-2 switch Q4to transmit and receive fourth power through the wireless interface 525.The control logic 560 may perform a charging current sensing function, acharging cut off function, a CC loop function, a CV loop function, atermination current loop function, a recharging loop function, and a Batto Sys FET loop function.

The switch group 562 may include a plurality of switches. The switchgroup 562 may provide a CC to a system (e.g., a system for supplyingpower to each module of the electronic device). The switch group 428 mayboost or buck a voltage of the battery 410 to supply CC to the connectedexternal device, or may boost or buck a supplied charging voltage tosupply the constant charging current to the battery 410. According to anembodiment of the present disclosure, the switch group 428 may include abuck/boost converter.

According to an embodiment of the present disclosure, when chargingpower is supplied to the battery 510 from the external device (e.g.,TA), the switch group 562 may boost or buck a charging voltage accordingto a CC range and a CV range. According to an embodiment of the presentdisclosure, the CC range may be a range providing the battery 510 withthe charging voltage having a CC. The CV range may be a range providingthe battery 510 with the charging voltage having a CV.

According to an embodiment of the present disclosure, the switch group562 may perform a buck converter operation in the CC range. For example,the switch group 562 may perform the buck converter operation in whichthe charging current may be fixed as a predetermined current level(e.g., 3 A) and charged in a range where the voltage of the battery 510increases to a predetermined range (e.g., 3.4 V˜4.4 V). Here, the switchgroup 562 may perform an operation to convert a voltage inputted fromthe external device into a voltage suited for the battery 510. Forexample, the switch group 562 may supply 9 W (9 W=3 V*3 A) of power fromthe external device to the battery 510 when the voltage of battery 510is 3 V, and supply 12 W (12 W=4 V*3 A) of power from the external deviceto the battery 510 when the voltage of battery 510 is 4 V, such that acharging current from the external device is uniformly supplied to thebattery 510.

According to an embodiment of the present disclosure, the switch group562 may perform the buck converter operation in the CV range. Forexample, the switch group 562 may enter the CV range, fix a chargingvoltage with a buffer voltage, and gradually reduce the current so as toperform charging, because charging is unnecessary when the voltage ofthe battery 510 reaches a buffer voltage (e.g., 4.4 V) range. Here, theswitch group 562 may perform an operation to convert a voltage (e.g., 5V) inputted from the external device to a voltage suited for a buffervoltage (e.g. 4.4 V) of the battery 510.

According to an embodiment of the present disclosure, the switch group562 may perform the boost converter operation when power of battery 501is provided to the external device. For example, the switch group 562may perform an operation of converting a voltage of the battery 510(e.g., 3.4 V˜4.4 V) to a voltage suited for the OTG device (e.g., 5 V)when power of battery 510 is provided to the OTG device connected to theelectronic device.

The charging switch 564 may detect a charging current amount, and mayblock charging of the battery 410 upon overcharging or overheating.

Referring to FIG. 5B, which is a view illustrating an operation of acharging circuit 530 when the wired power supply device is connected tothe wired interface 521. When the wired power supply device is connectedto the wired interface 521, a control logic 560 may control a 1-1 switchQ1 and a 1-2 switch Q2 to be “on” state. The control logic 560 mayreceive third power through the wired interface 521. The control logic560 may control to input third power to a switch group 562 as secondpower. The control logic 560 may control the switch group 562 to buck avoltage of the second power to a voltage of the first power. Theconverted first power may be supplied to the battery 510 through acharging switch 564 to be used for charging the battery 510. Accordingto an embodiment of the present disclosure, when the voltage of thesecond power is bucked to the voltage of the first power, the switchgroup 562 may perform the buck converter operation in which the chargingcurrent may be fixed as a predetermined current level (e.g., 3 A) andcharged in a CC range where the voltage of the battery 510 increases toa predetermined range (e.g., 3.4 V˜4.4 V). Specifically, the switchgroup 562 may supply 9 W (9 W=3 V*3 A) of power from the wired powersupple device to the battery 510 when the voltage of battery 510 is 3 V,and supply 12 W (12 W=4 V*3 A) of power from the wired power suppledevice to the battery 510 when the voltage of battery 510 is 4 V, suchthat a charging current from the wired power supple device is uniformlysupplied to the battery 510. Further, the switch group 562 may enter theCV range, fix a charging voltage with a buffer voltage, and graduallyreduce the current so as to perform charging, because charging isunnecessary when the voltage of the battery 510 reaches a buffer voltage(e.g., 4.4 V). Here, the switch group 562 may perform an operation toconvert a voltage inputted from the external device into a voltagesuited for the battery 510.

Referring to FIG. 5C, which is a view illustrating an operation of acharging circuit 530 when an OTG device is connected to a wiredinterface 521. When the OTG device is connected to the wired interface521, a control logic 560 may control a switch group 562 so that a switchgroup 562 boosts a voltage of first power from a battery 510, which isprovided through a charging switch 564, to a voltage of second power.Here, the switch group 562 may perform a boost converter operation. Forexample, the switch group 562 may perform an operation to convert avoltage of the battery 510 (e.g., 3.4 V˜4.4 V) to a voltage (e.g., 5 V)suited for the OTG device. Further, the control logic 560 may control a1-1 switch Q1 and a 1-2 switch Q2 to be on-state, such that second poweris transmitted to the OTG device as third power through the wiredinterface 521.

Referring to FIG. 5D, which is a view illustrating an operation of acharging circuit 530 when a wireless power supply device is connected toa wireless interface 525. When the wireless power supply device isconnected to the wireless interface 525, the control logic 560 maycontrol a 2-1 switch Q3 and a 2-2 switch Q4 to be on-state, such thatfourth power is received from the wireless power supply through thewireless interface 525. Further, the control logic 560 may perform acontrol to input the fourth power to the switch group 562, the controllogic 560 may control the switch group 562 to buck a voltage of thesecond power to a voltage of the first power.

According to an embodiment of the present disclosure, when a voltage ofthe second power is bucked to a voltage of the first power, the switchgroup 562 may perform a buck converter operation in which the chargingcurrent may be fixed as a predetermined current level (e.g., 3 A) in aCC range where the voltage of the battery 510 increases to apredetermined value (e.g., 3.4 V˜4.4 V). Specifically, the switch group562 may supply 9 W (9 W=3 V*3 A) of power from the wireless power supplydevice to the battery 510 when the voltage of battery 510 is 3 V, andsupply 12 W (12 W=4 V*3 A) of power from the wireless power supplydevice to the battery 510 when the voltage of battery 510 is 4 V, suchthat a charging current from the wireless power supply device isuniformly supplied to the battery 510.

Further, the switch group 562 may enter the CV range, fix a chargingvoltage with a buffer voltage, and gradually reduce the current so as toperform charging, because charging is unnecessary when the voltage ofthe battery 510 reaches a buffer voltage (e.g., 4.4 V) range. Here, theswitch group 562 may perform an operation to convert a voltage (e.g., 5V) inputted from the wireless power supply device into a voltage suitedfor a buffer voltage (e.g. 4.4 V). The first power may be supplied tothe battery 510 through the charging switch 564 and used to charge thebattery 510.

According to an embodiment of the present disclosure, an electronicdevice may determine whether the wireless power supply device supportsquick charging by communicating with the wireless power supply device.According to an embodiment of the present disclosure, the electronicdevice may receive identifying information from the wireless powersupply device and determine whether the wireless power supply devicesupports the quick charging through the identifying information. Theoperation of receiving the identifying information may be performedthrough the wireless power supply device and one of an in-bandcommunication channel and an outband communication channel. An in-bandcommunication method means that the electronic device communicates withthe wireless power supply device in a same frequency as frequency usedin wireless power transmission. An out-band communication method meansthat the electronic device communicates with the wireless power supplydevice in a different frequency from the frequency used in wirelesspower transmission. According to an embodiment of the presentdisclosure, the out-band communication method may include a short-rangecommunication protocol (e.g., BT, Wi-Fi, NFC, etc.). According to anembodiment of the present disclosure, the electronic device maydetermine whether the wireless power supply device supports the quickcharging using the inband or outband communication.

Referring to FIG. 5E, which is a view illustrating an operation of acharging circuit 530 when an OTG device is connected to a wiredinterface 521 and a wireless power supply device is connected to awireless interface 525. When the OTG device is connected to the wiredinterface 521 and the wireless power supply device is connected to thewireless interface 525, the control logic 560 may control the switchgroup 562 to boost a voltage of first power from a battery 510 to avoltage of second power. The control logic 560 may control a 1-1 switchQ1 and a 1-2 switch Q2 to be on-state to thus transmit third power tothe OTG device, and simultaneously control a 2-1 switch Q3 and a 2-2switch Q4 to be on-state to receive fourth power. The control logic 560may control the switch group 562 to buck a voltage of the second powercorresponding to fourth power to a voltage of the first power, such thatthe first power may be charged to the battery 510. According to anembodiment of the present disclosure, the switch group 562 may performan operation to convert a voltage of the battery 510 (e.g., 3.4 V˜4.4 V)to a voltage suited for the OTG device (e.g., 5 V) when the voltage offirst power from the battery 510 is boosted to the voltage of the secondpower. According to an embodiment of the present disclosure, when avoltage of the second power corresponding to the fourth power is buckedto a voltage of the first power, the switch group 562 may perform a buckconverter operation in which the charging current may be fixed as apredetermined current value (e.g., 3 A) and charged in a range where avoltage of the CC range (the voltage of the battery 510) increases to apredetermined range (e.g., 3.4 V˜4.4 V) range. Specifically, the switchgroup 562 may supply 9 W (9 W=3 V*3 A) of power the wireless powersupply device to the battery 510 when the voltage of battery 510 is 3 V,and supply 12 W (12 W=4 V*3 A) of power from the wireless power supplydevice to the battery 510 when the voltage of battery 510 is 4 V, suchthat a charging current from the wireless power supply device isuniformly supplied to the battery 510. Further, the switch group 562 mayenter the CV range, fix a charging voltage with a buffer voltage, andgradually reduce the current so as to perform charging, because chargingis unnecessary when the voltage of the battery 510 reaches a buffervoltage (e.g., 4.4 V). Here, the switch group 562 may perform anoperation to convert a voltage inputted from the wireless power supplydevice into a voltage suited for the battery 510.

According to an embodiment of the present disclosure, when the fourthpower received from the wireless power supply device through thewireless interface 525 is bigger than the third power transmitted to theOTG device through the wired interface 521, a control logic 560 maysupply the third power to the OTC device using the fourth power. Thecontrol logic 560 may perform a control to input a remaining power to aswitch group 562, thereby providing the remaining power to the battery510. Further, when the fourth power received from the wireless powersupply device through the wireless interface 525 is smaller than thethird power transmitted to the OTG device through the wired interface521, a control logic 560 may supply power to the OTC device using thefourth power. The control logic 560 may perform a control to supplementthe OTG device with power provided by using the battery 510 and theswitch group 562.

Referring to FIG. 5F, which is a view illustrating an operation of acharging circuit 530 when a wireless power receiving device is connectedto a wireless interface 525. When a wireless power receiving device isconnected to a wireless interface 525, a control logic 560 may control aswitch group 562 to boost a voltage of first power from a battery 510supplied through a charging switch 564 into a voltage of second power.According to an embodiment of the present disclosure, when a voltage offirst power from the battery is boosted to a voltage of second power,the switch group 562 may perform an operation to convert a voltage ofthe battery 510 (e.g., 3.4 V˜4.4 V) to a voltage suited for the wirelesspower receiving device. Further, the control logic 560 may control a 2-1switch Q3 and a 2-2 switch Q4 to be on-state so that second power istransmitted to the wireless power receiving device through the wiredinterface 521 as fourth power.

Referring to FIG. 5G, which is a view illustrating an operation of acharging circuit when a wired power receiving device is connected to awired interface 521, and a wireless power receiving device is connectedto a wireless interface 525. When a wired power receiving device isconnected to a wired interface 521, and a wireless power receivingdevice is connected to a wireless interface 525, A control logic 560 maycontrol a 1-1 switch Q1 and a 1-2 switch Q2 to be on-state to thusreceive third power. While the control logic 560 may control the switchgroup 562 to buck a voltage of second power corresponding to third powerto a voltage of first power, the control logic 560 may control theswitch group 562 to boost the voltage of the first power to the voltageof the second power, and the control logic 560 may control a 2-1 switchQ3 and a 2-2 switch Q4 to be on-state to thus transmit fourth power tothe wireless power receiving device.

According to an embodiment of the present disclosure, when the voltageof the second power is bucked to the voltage of the first power, theswitch group 562 may perform the buck converter operation in which thecharging current may be fixed as a predetermined current level (e.g., 3A) and charged in a range where the voltage of the battery 510 increasesto a predetermined range (e.g., 3.4 V˜4.4 V). Specifically, the switchgroup 562 may supply 9 W (9 W=3 V*3 A) of power from the wired powersupply device to the battery 510 when the voltage of battery 510 is 3 V,and supply 12 W (12 W=4 V*3 A) of power from the wired power supplydevice to the battery 510 when the voltage of battery 510 is 4 V, suchthat a charging current from the wired power supply device is uniformlysupplied to the battery 510. Further, the switch group 562 may enter theCV range, fix a charging voltage with a buffer voltage, and graduallyreduce the current to perform charging because charging is unnecessarywhen the voltage of the battery 510 reaches a buffer voltage (e.g., 4.4V) range. Here, the switch group 562 may perform an operation to converta voltage (e.g., 5 V) inputted from the wired power supply device to avoltage suited for a buffer voltage (e.g. 4.4 V). According to anembodiment of the present disclosure, when a voltage of first power fromthe battery is boosted to a voltage of second power, the switch group562 may perform an operation to convert a voltage of the battery 510(e.g., 3.4 V˜4.4 V) to a voltage suited for a voltage of the wirelesspower receiving device.

According to an embodiment of the present disclosure, when a controllogic 560 supplies fourth power to the wireless power receiving devicewhile receiving third power from the wired power supply device, thecontrol logic 560 may perform a control to supply fourth power to awireless power receiving device using third power from the wired powersupply device, and then charge the battery 510 using the remainingpower.

Referring to FIG. 5H, which is a view illustrating an operation of acharging circuit 530 when an OTG device is connected to a wiredinterface 521 and a wireless power receiving device is connected to awireless interface 525. When the OTG device is connected to the wiredinterface 521 and the wireless power supply device is connected to thewireless interface 525, a control logic 560 may control a switch group562 to boost a voltage of first power from a battery 510 to a voltage ofsecond power. According to an embodiment of the present disclosure, theswitch group 562 may perform an operation to convert a voltage of thebattery 510 (e.g., 3.4 V˜4.4 V) to a voltage suited for a voltage of theOTG device and the wireless power receiving device when the voltage offirst power from the battery 510 is boosted to the voltage of the secondpower.

Further, the control logic 560 may control all of a 1-1 switch Q1, a 1-2switch Q2, a 2-1 switch Q3, and a 2-1 switch Q4 to be on-state to thusdistribute the second power to third power and fourth power, and thethird power and fourth power are transmitted to the OTG device and thewireless power receiving device respectively. According to an embodimentof the present disclosure, when the third power and fourth power areoutputted, the control logic 560 may control the power output to beavailable only below a predetermined threshold of the power output toprevent over-discharging of the battery 510.

According to an embodiment of the present disclosure, a method ofoperating an electronic device may comprise determining whether theelectronic device is connected with a wireless power receiving deviceand a wired power receiving device, when the wireless power receivingdevice and the wired power receiving device are connected, electricallyconnecting a battery with a conductive pattern to wirelessly transmitpower to the wirelessly power receiving device, by the electronicdevice, and while simultaneously transmitting wirelessly power to anoutside, electrically connecting the battery with a connector to wiredlytransmit power to the wired power receiving device, by the electronicdevice.

According to an embodiment of the present disclosure, the electronicdevice may comprise a display exposed through a surface of a housing, abattery mounted in the housing, a circuit electrically connected withthe battery, a conductive pattern positioned in the housing, andelectrically connected with the circuit, and wirelessly transmit powerto an outside of the electronic device, a connector configured to beexposed through another surface of the housing, and electricallyconnected with the circuit, a processor configured to be electricallyconnected with a memory, the display, the battery, the circuit, theconnector, or the memory. The circuit is configured to electricallyconnect the battery with the conductive pattern, wirelessly transmitpower to the outside, and electrically connect the battery with theconnector to wiredly transmit power to the outside simultaneously orselectively with wirelessly transmitting power to the outside.

According to an embodiment of the present disclosure, the method ofoperating the electronic device may further comprise, by the electronicdevice, changing a first voltage generated by the battery into a secondvoltage higher than the first voltage, transmitting a portion of acurrent generated by the second voltage to the conductive pattern, andtransmitting another portion of the current generated by the secondvoltage to the connector.

According to an embodiment of the present disclosure, the method ofoperating the electronic device may further comprise, by the electronicdevice, charging another battery included in an external device to avoltage level selected from a plurality of voltage levels.

According to an embodiment of the present disclosure, the method ofoperating the electronic device may further comprise, by the electronicdevice, receiving information on charging from the external device andselect the selected voltage level from the plurality of voltage levelsbased on the received information.

According to an embodiment of the present disclosure, the method ofoperating the electronic device may further comprise wirelessly orwiredly transmitting the power to the outside based on a user input.

According to an embodiment of the present disclosure, the method ofoperating the electronic device may further comprise displayinginformation related to an external device on the display based on asignal received from the external device through the connector.

According to an embodiment of the present disclosure, the method ofoperating the electronic device may further comprise receiving powerfrom an external wireless power supply device to charge the battery, andsimultaneously performing an OTG function when the electronic device isconnected with the external wireless power supply device and an OTGdevice.

According to an embodiment of the present disclosure, the method ofoperating the electronic device may further comprise, by the electronicdevice, receiving power from a wired power supply device to charge thebattery and simultaneously supplying power to a wireless power receivingdevice when the electronic device is connected with the wired powersupply device and the wireless power receiving device.

According to an embodiment of the present disclosure, the method ofoperating the electronic device may further comprise, by the electronicdevice, supplying power to an external wireless power receiving deviceusing the battery, and simultaneously performing an OTG function, whenthe electronic device is connected with the external wireless powersupply device and an OTG device.

According to an embodiment of the present disclosure, the method ofoperating the electronic device may further comprise displaying, by theelectronic device, a user interface configured to control at least aportion of the circuit on the display.

According to an embodiment of the present disclosure, the method ofoperating the electronic device may further comprise receiving, throughthe display by the electronic device, a user input for wirelessly orwiredly transmitting power from the battery to an external devicethrough the display, or wiredly or wirelessly receiving power from theexternal device.

According to an embodiment of the present disclosure, the method ofoperating the electronic device may further comprise displaying, on thedisplay by the electronic device, at least one of at least one or moreexternal devices connected to the electronic device and remainingbattery power of the connected external device.

FIG. 6 is a view illustrating a control operation of a charging circuitaccording to an embodiment of the present disclosure.

Referring to FIG. 6, an electronic device may determine whether anexternal device is connected in operation 602. The electronic device maydetermine the connected external device in operation 604. For example,the electronic device may determine whether the external deviceconnected to the electronic device is a wired power supply device, awired power receiving device, an OTG device, a wireless power supplydevice, or a wireless power receiving device.

The electronic device may control a battery 510 to be charged usingreceived power from the wired power supply device in operation 606 whenthe wired power supply device is connected.

The electronic device may control an OTG function to be performed inoperation 608 when the OTG device is connected.

The electronic device may control the battery 510 to be charged usingreceived power from the wireless power supply device in operation 610when the wireless power supply device is connected.

When the wireless power supply device and the OTG device are connected,the electronic device may control the OTG function to be performedsimultaneously with charging the battery 510 by receiving power from thewireless power supply device in operation 612.

When the wireless power supply device is connected, the electronicdevice may control power to be supplied to the wireless power supplydevice using the battery 510 in operation 614.

When the wired power supply device and the wireless power receivingdevice are connected, the electronic device may control power to besupplied to the wireless power receiving device simultaneously withcharging the battery 510 by receiving power from the wired power supplydevice in operation 616.

When the wireless power receiving device and the OTG device areconnected, the electronic device may control power to be supplied to thewireless power receiving device simultaneously performing the OTGfunction using the power of the battery 510 in operation 618.

FIG. 7 is a view illustrating an operation of an electronic device whena wired power supply device is connected, according to an embodiment ofthe present disclosure.

Referring to FIG. 7, the electronic device may determine whether thewired power supply device is connected in an operation 702. According toan embodiment of the present disclosure, the electronic device maydetermine whether an external device connected through an interfacecontroller 529 is the wired power supply device, and may determinewhether the connected external device supports quick charging. When theelectronic device supports the quick charging, the electronic device maychange a current or voltage of transmitting power from the wired powersupply device depending upon a situation by communicating with the wiredpower supply device. For example, the electronic device may enable thecurrent and voltage of transmitting power from the wired power supplydevice to be changed into a most efficient voltage and current among a 5V and 2 A, a 9 V and 1.67 A, and a 12 V and 1.25 A by communicating withthe wired power supply device. According to an embodiment of the presentdisclosure, a predetermined protocol may be used for the communicationbetween the electronic device and the wired power supply device. Forexample, a predetermined protocol may be a protocol using D+ and D− pinsof the wired interface. The predetermined protocol may be a protocol ofa packet method. According to an embodiment of the present disclosure,the wired power supply device may start power transmission basicallywith 5 V. The 5 V may be set to be changed into an appropriate chargingvoltage (e.g., the most efficient quick charging voltage among 5 V, 9 V,and 12 V) by means of communication using D+ and D− pins between aninternal control IC of the wired power supply device and an internalcontrol IC of the electronic device. Here, the charging voltage may notbe limited to the aforementioned embodiment. Upon completing aconfiguration of the charging voltage, an input current limit valuecorresponding to the charging voltage may be set to protect the wiredpower supply device when the internal over current protection (OCP) ICis damaged. Here, the wired power supply device may firstly control avoltage and current supplied for charging to the electrical devicedepending on the input current limit value corresponding to the chargingvoltage, and secondly control a voltage and current provided forcharging through the communication with the electronic device.

The electronic device may turn on a 1-1 switch Q1 and a 1-2 switch Q2,thereby making it possible to receive power from the wired power supplydevice, in operation 704.

The electronic device turns on the 1-1 switch Q1 and the 1-2 switch Q2,and then may control an on/off operation of a QH switch and a QL switch,so that the switch group 562 performs a buck operation in operation 706.The switch group 562 may perform the on/off operation of the QH switchand the QL switch, respectively, according to the buck operation, andmay buck the charging voltage from the wired power supply device toprovide a constant charging current to the battery 510.

For example, the switch group 562 may perform a buck converter operationin which the charging current is fixed as a predetermined value (e.g., 3A) and charged in a range where the voltage of a CC range (the battery510) increases to a predetermined range (e.g., 3.4 V˜4.4 V).Specifically, the switch group 562 may supply 9 W (9 W=3 V*3 A) of powerfrom the wired power supply device to the battery 510 when the voltageof battery 510 is 3 V, and supply 12 W (12 W=4 V*3 A) of power from thewired power supply device to the battery 510 when the voltage of battery510 is 4 V, such that a charging current from the wired power supplydevice is uniformly supplied to the battery 510.

The electronic device may control the QH switch and the QL switch of theswitch group 562 and the QF switch of a charging switch 564 to supplythe charging current from the wired power supply device to the battery510 in operation 708. For example, the electronic device may operate theQF switch so as to supply a bucked charging current to the batteryaccording to the on/off operation of the QH switch and the QL switch.

FIG. 8 is a view illustrating an operation of an electronic device whenan OTG is connected according to an embodiment of the presentdisclosure.

Referring to FIG. 8, an electronic device may determine whether the OTGdevice is connected in operation 802. According to an embodiment of thepresent disclosure, when the electronic device is connected to an OTGpin of a wired interface 421, the electronic device may determine thatthe OTG device 403 is connected thereto through an interface controller529.

Upon determining that the OTG device 403 is connected, the electronicdevice may turn on a 1-1 switch Q1 and a 1-2 switch Q2, thereby makingit possible to transmit power to the OTG device, in operation 804.

The electronic device turns on the 1-1 switch Q1 and the 1-2 switch Q2,and then may control an on/off operation of a QH switch and a QL switchso that the switch group 562 performs a boost operation in operation806. The switch group 562 may perform the on/off operation of the QHswitch and the QL switch, respectively, according to the boostoperation, and may boost a voltage from the battery 510 to provide a CCto the OTG device. For example, the switch group 562 may perform anoperation to convert a voltage of the battery 510 (e.g., 3.4 V˜4.4 V) toa voltage suited for a voltage of the OTG device (e.g. 5 V).

The electronic device may control the QH switch and the QL switch of theswitch group 562 and the QF switch of a charging switch 564 to supplypower from the battery 510 to the OTG device, enabling the OTG functionto be performed, in operation 808. For example, the electronic devicemay operate the QF switch so that the voltage from the battery 501 isdelivered to the QH switch and the QL switch to be boosted.

FIG. 9 is a view illustrating an operation of an electronic device whena wireless power supply device is connected according to an embodimentof the present disclosure.

Referring to FIG. 9, the electronic device may determine whether thewireless power supply device is connected in operation 902. According toan embodiment of the present disclosure. The electronic device maydetermine that the wireless power supply device is connected when powerreception is detected at a TRX IC through a conductive pattern of thewireless interface.

Upon confirming that the wireless powers supply is connected, theelectronic device may turn on a 2-1 switch Q3 and a 2-2 switch Q4,thereby making it possible to receive power from the wireless powersupply device, in operation 904.

The electronic device turns on a 2-1 switch Q3 and a 2-2 switch Q4, andthen may control an on/off operation of a QH switch and a QL switch sothat the switch group 562 performs a buck operation in operation 906.The switch group 562 may perform the on/off operation of the QH switchand the QL switch, respectively, according to the buck operation and maybuck a charging voltage from the wired power supply device to provide aconstant charging current to the battery 510.

According to an embodiment of the present disclosure, when a chargingvoltage from the wireless power supply device is bucked, the switchgroup 562 may perform a buck converter operation in which the chargingcurrent may be fixed as a predetermined current level (e.g., 3 A) andcharged in a CC range that the voltage of the battery 510 increases to apredetermined range (e.g., 3.4 V˜4.4 V). Specifically, the switch group562 may supply 9 W (9 W=3 V*3 A) of power from the wired power supplydevice to the battery 510 when the voltage of battery 510 is 3 V, andsupply 12 W (12 W=4 V*3 A) of power from the wired power supply deviceto the battery 510 when the voltage of battery 510 is 4 V, such that acharging current from the wired power supply device is uniformlysupplied to the battery 510. Further, the switch group 562 may enter theCV range, fix a charging voltage with a buffer voltage, and graduallyreduce the current so as to perform charging, because charging isunnecessary when the voltage of the battery 510 reaches a buffer voltage(e.g., 4.4 V). Here, the switch group 562 may perform an operation toconvert a voltage inputted from the wireless power supply device into avoltage suited for the battery 510.

The electronic device may control the QH switch and the QL switch andthe QF switch of a charging switch 564 to supply the charging currentfrom the wireless power supply device to the battery 510 in operation908. For example, the electronic device may operate the QF switch so asto supply a bucked charging current to the battery according to theon/off operation of the QH switch and the QL switch.

FIG. 10 is a view illustrating an operation of an electronic device whena wireless power supply device and an OTG device are connected accordingto an embodiment of the present disclosure.

Referring to FIG. 10, an electronic device may determine whether awireless power supply device and an OTG device are connected inoperation 1002. The wireless power supply device may be connectedthrough a wireless interface 525 and the OTG device are connectedthrough a wired interface 521. According to an embodiment of the presentdisclosure, the electronic device may determine that the wireless powersupply device is connected when a TRX IC operates through a conductivepattern of the wireless interface. Further, when the electronic deviceis connected to an OTG pin of the wireless interface, the electronicdevice may determine that the OTG device is connected.

Upon confirming that the wireless power supply device and the OTG deviceare connected to the electronic device, the electronic device may turnon a 1-1 switch Q1, a 1-2 switch Q2, and a 2-1 switch Q3 a 2-2 switchQ4, making it possible to receive power from the wireless power supplydevice and an input/output by the OTG device in operation 1004.

The electronic device turns on the 1-1 switch Q1, the 1-2 switch Q2, andthe 2-1 switch Q3 and the 2-2 switch Q4, and then may control an on/offoperation of a QH switch and a QL switch, so that the switch group 562performs a buck or boost in operation 1006. The switch group 562 mayperform the on/off operation of the QH switch and the QL switch,respectively, according to the buck operation and may buck a chargingvoltage from the wireless power supply device to provide a constantcharging current to the battery 510. Further, the switch group 562 mayperform the on/off operation of the QH switch and the QL switch,respectively, according to the boost operation to provide a constantcurrent (CC) to the OTG device. According to an embodiment of thepresent disclosure, the switch group 562 may perform an operation toconvert a voltage of the battery 510 (e.g., 3.4 V˜4.4 V) to a voltagesuited for the OTG device (e.g., 5 V) when the voltage of power from thebattery 510 is boosted. According to an embodiment of the presentdisclosure, when the charging voltage from the wireless power supplydevice is bucked, the switch group 562 may perform the buck converteroperation in which the charging current may be fixed as a predeterminedcurrent level (e.g., 3 A) and charged in a CC range where the voltage ofthe battery 510 increases to a predetermined range (e.g., 3.4 V˜4.4 V)range. Specifically, the switch group 562 may supply 9 W (9 W=3 V*3 A)of power from the wireless power supply device to the battery 510 whenthe voltage of battery 510 is 3 V, and supply 12 W (12 W=4 V*3 A) ofpower from the wireless power supply device to the battery 510 when thevoltage of battery 510 is 4 V, such that a charging current from thewireless power supply device is uniformly supplied to the battery 510.Further, the switch group 562 may enter the CV range, fix a chargingvoltage with a buffer voltage, and gradually reduce the current so as toperform charging, because charging is unnecessary when the voltage ofthe battery 510 reaches a buffer voltage (e.g., 4.4 V). Here, the switchgroup 562 may perform an operation to convert a voltage inputted fromthe wireless power supply device into a voltage suited for the battery510.

The electronic device may control an on/off operation of the QH switchand the QL switch and the QF switch of the charging switch 564 so thatthe switch group 562 performs a buck operation to provide power from thebattery 510 to the OTG device, thereby performing the OTG functionsimultaneously with providing charging current from the wireless powersupply device to the battery 510 in operation 1008. For example, theelectronic device may operate the QF switch to provide a bucked chargingcurrent to the battery according to the on/off operation of the QHswitch and the QL switch, or may operate the QF switch to supply powerto the QH switch and the QL switch, thereby performing an operation toconvert an output voltage from the battery 510 into a voltage suited forOTG device

According to an embodiment of the present disclosure, the OTG device maybe connected through the wired interface 521 while receiving thecharging power from the wireless power supply device through thewireless interface 525, or the wireless power supply device may beconnected while transmitting the charging power to the OTG device.According to an embodiment of the present disclosure, when the chargingpower received from the wireless power supply device through thewireless interface 525 is bigger than the charging power transmitted tothe OTG device through the wired interface 521, the electronic devicemay supply the charging current to the OTG device using the receivedcharging current, and input a remaining current to the battery 510 tocharge the battery 510. Further, when the charging power received fromthe wireless power supply device through the wireless interface 525 issmaller than the charging power transmitted to the OTG device throughthe wired interface 521, the electronic device may supply power to theOTC device using the received charging current, and supplementinsufficient power to the OTG device using the charging current from thebattery 510.

FIG. 11 is a view illustrating an operation of an electronic device whena wireless power receiving device is connected according to anembodiment of the present disclosure.

Referring to FIG. 11, the electronic device may determine whether thewireless power receiving device is connected in operation 1102. Theelectronic device may determine that the wireless power receiving deviceis connected when a TRX IC operates through a conductive pattern of thewireless interface according to a reception of wireless power requestsignal.

Upon confirming that the wireless powers supply is connected, theelectronic device may turn on a 2-1 switch Q3 and a 2-2 switch Q4,thereby making it possible to receive power from the wireless powersupply device, in operation 904.

The electronic device turns on the 2-1 switch Q3 and the 2-2 switch Q4,and then may control an on/off operation of a QH switch and a QL switchso that the switch group 562 performs a boost operation in operation1106. The switch group 562 may perform the ON/OFF operation of the QHswitch and the QL switch, respectively, according to the boostoperation, and may boost the voltage from the battery 510 to provide aconstant charging current to the wireless power receiving device.According to an embodiment of the present disclosure, when the power ofbattery 510 is supplied to the wireless power receiving device, theswitch group 562 may perform an operation to convert a voltage (e.g.,3.4 V˜4.4 V) of the battery 510 to a voltage suited for a voltage of thewireless power receiving device.

The electronic device may control the QH switch and the QL switch and aQF switch of a charging switch 564 to supply the power from the battery510 to the wireless power receiving device in operation 1108. Forexample, the electronic device may operate the QF switch to supply thepower to the QH switch and the QL switch to perform an operation that anoutput voltage from the battery 510 is changed suited for the voltage ofthe wireless power receiving device

FIG. 12 is a view illustrating an operation of an electronic device whena wired power supply and a wireless power receiving device are connectedaccording to an embodiment of the present disclosure.

Referring to FIG. 12, the electronic device may determine whether thewired power supply device and the wireless power receiving device areconnected in operation 1202. The wireless power receiving device may beconnected through a wireless interface 525, the wired power supplydevice may be connected through a wired interface 521.

Upon determining that the wired power supply device and the wirelesspower receiving device are connected, the electronic device may turn ona 2-1 switch Q3 and a 2-2 switch Q4, thereby making it possible toreceive power from the wired power supply device and a power supply tothe wireless power receiving device is available in operation 1204.

The electronic device turns on the 1-1 switch Q1, the 1-2 switch Q2, andthe 2-1 switch Q3 and the 2-2 switch Q4, and then may control an on/offoperation of a QH switch and a QL switch so that the switch group 562performs a buck operation in operation 1206. The switch group 562 mayperform the on/off operation of the QH switch and the QL switch,respectively, according to the buck operation, and may buck a chargingvoltage from the wired power supply device to provide a constantcharging current to the battery 510. According to an embodiment of thepresent disclosure, when the charging voltage from the wired powersupply device is bucked, the switch group 562 may perform a buckconverter operation in which the charging current is fixed as apredetermined current level (e.g., 3 A) and charged in a range where thevoltage of a CC range (the battery 510) increases to a predeterminedrange (e.g., 3.4 V˜4.4 V). Specifically, the switch group 562 may supply9 W (9 W=3 V*3 A) of power from the wired power supply device to thebattery 510 when the voltage of battery 510 is 3 V, and supply 12 W (12W=4 V*3 A) of power from the wired power supply device to the battery510 when the voltage of battery 510 is 4 V, such that a charging currentfrom the wired power supply device is uniformly supplied to the battery510. Further, the switch group 562 may enter the CV range, fix acharging voltage with a buffer voltage, and gradually reduce the currentso as to perform charging, because charging is unnecessary when thevoltage of the battery 510 reaches a buffer voltage (e.g., 4.4 V). Here,the switch group 562 may perform an operation to convert a voltageinputted from the wired power supply device into a voltage suited forthe battery 510. According to an embodiment of the present disclosure,the switch group 562 may perform an operation to convert a voltage ofthe battery 510 (e.g., 3.4 V˜4.4 V) to a voltage suited for the wirelesspower receiving device when a first power level from the battery 510 isboosted to a second power level.

The electronic device may control the QH the switch, the QL switch, andthe QF switch of the charging switch 564 to provide the charging currentfrom the wired power supply device to the battery 501 and simultaneouslyto the wireless power receiving device at in operation 1208.

For example, the electronic device may operate the QF switch to providea bucked charging current corresponding to a bucked voltage to thebattery according to the ON/OFF operation of the QH switch and the QLswitch, or may control the QH switch and the QL switch and the QF switchof the charging switch 564 to provide the charging current from thewired power supply device to the wireless power receiving device.

According to an embodiment of the present disclosure, when theelectronic device supplies the charging current to the wireless powerreceiving device while receiving a current from the wired power supplydevice, the electronic device may control an on/off operation of a 2-1switch Q3, a 2-2 switch Q4, a QH switch and a QL switch to charge thebattery 510 using a remaining current after supplying the chargingcurrent to the wireless power receiving device using the chargingcurrent received from the wired power supply device. When the chargingcurrent received from the wired power supply device is a HV (e.g. morethan 5 V) and the wireless power receiving device does not receive theHV, the electronic device changes the charging voltage received from thewired power supply device into a 5 V and provides power to the battery510 using the changed charging voltage. The electronic device maycontrol an on/off operation of the 2-1 switch Q3, the 2-2 switch Q4, theQH switch and the QL switch, such that a remaining power is charged tothe battery 510.

FIG. 13 is a view illustrating an operation of an electronic device whenan OTG device and a wireless power receiving device are connectedaccording to an embodiment of the present disclosure.

Referring to FIG. 13, the electronic device may identify whether the OTGdevice and the wireless power receiving device is connected in operation1302. The wireless power receiving device may be connected through awireless interface 525, and the OTG device may be connected through awired interface 521.

The electronic device may enable a 1-1 switch Q1, a 1-2 switch Q2, 2-1switch Q3, and 2-2 switch Q4 to be on-state when the connection of theOTG device is identified so that power supplies to the OTG device andthe wireless power receiving device may be possible in operation 1304.

The electronic device turns on the 1-1 switch Q1, the 1-2 switch Q2, the2-1 switch Q3, and the 2-2 switch Q4, and then the electronic device maycontrol an on/off operation of a QH switch and a QL switch so that theswitch group 562 performs a boost operation in operation 1306. Theswitch group 562 may perform the on/off operation of the QH switch andthe QL switch, respectively, according to the boost operation and mayboost a voltage from the battery 510 to supply power to the OTG deviceand the wireless power receiving device. According to an embodiment ofthe present disclosure, the switch group 562 may perform an operation toconvert a voltage of the battery 510 (e.g., 3.4 V˜4.4 V) to a voltagesuited for OTG device and wireless power receiving device when thevoltage of power from the battery 510 is boosted.

The electronic device may control the QH switch, the QL switch and QFswitch of charging switch 564 so that a portion of power of the batteryis supplied to the OTG device, and simultaneously another portion ofpower of the battery is supplied to the wireless power receiving devicein operation 1308.

FIG. 14 is an external perspective view illustrating an electronicdevice according to an embodiment of the present disclosure.

Referring to FIG. 14, a touch screen 1415 may be disposed in a center ofthe front surface 1410 of the housing of the electronic device 1401. Thetouch screen 1415 may be formed to be large enough to occupy most of thefront surface of the housing. Various screens may be displayed on thetouch screen 1415. A home button 1416 may be formed in a lower portionof the touch screen 1415. The home button 1416 may display a main homescreen on the touch screen. A speaker 1411 may be placed in an upperportion of the front surface 1410 of the electronic device. A connector1435 wiredly connectable with the external deceive may be formed in aside of a main body 1420 of the electronic device. According to anembodiment of present disclosure, a conductive pattern may be disposedin various positions with respect to the main body 1420 of theelectronic device.

FIG. 15 is a view illustrating a conductive pattern disposed between amain body and a rear cover of an electronic device according to anembodiment of present disclosure.

Referring to FIG. 15, the electronic device 1401 may include a main body1420 and a rear cover 1428 detachably disposed in a rear side of themain body 1420, and the conductive pattern 1500 is disposed between themain body 1420 and the rear cover 1428. A battery 1450 may be seated ina rear side of the main body 1420. Together with the battery seatedtherein, the rear cover 1428 may be combined with the main body 1420 andform the housing. According to an embodiment of present disclosure, theconductive pattern 1500 may be attached to the rear cover 1428 or mayhave a molded shape inside the rear cover 1428. According to anembodiment of present disclosure, the conductive pattern 1500 may beattached to the battery 1450.

FIG. 16 is a view illustrating a conductive pattern disposed in a frontcover of an electronic device according to an embodiment of presentdisclosure.

Referring to FIG. 16, a conductive pattern 1600 may be connected with amain body 1420 and may be disposed in a front cover 1650 protecting thefront surface of the main body.

FIGS. 17. 18, 19 and 20 are views illustrating configurations in whichan external device is connected to an electronic device according tovarious embodiments of present disclosure.

Referring to FIG. 17, according to an embodiment of present disclosure,an electronic device 1701 may be a device in which a touch screen 1718is disposed in a front side of a housing, a home button 1716 is formedin a lower portion thereof, a speaker 1711 is formed in an upper frontof the housing, and a connector 1725 wiredly connectable is formed in asurface of a main body. For example, the wiredly connectable connectormay be a connector which is connectable using at least one method ofUSB, HDMI, RS-232, and POTS. The electronic device 1701 may wirelesslytransmit or receive power from a first external device 1702 (e.g., asmart phone) through the conductive pattern provided in the housing. Theelectronic device 1701 may be connected with a second external device1703 (e.g., a keyboard) using a wired cable 1713 through the connectorto perform an OTG function.

Referring to FIG. 18, according to an embodiment of present disclosure,an electronic device 1801 may be a device including a front cover 1850protecting the front surface, in which a touch screen 1815 is disposedin the front of housing, a home button 1816 is formed in a lowerportion, and a speaker 1811 is configured in the upper front of housing,and a connector 1825 wiredly connectable with an external device isfoamed on a surface of a main body. The electronic device 1801 maywirelessly transmit or receive power from a first external device 1802(e.g., smart phone) through the conductive pattern 1800 provided in afront cover 1850. The electronic device 1801 may be connected with asecond external device 1803 (e.g., keyboard) through the wired cable1813, and may perform an OTG function. Further, the electronic device1801 may display a content 1815-2 indicating a connection deviceconnected with the electronic device 1801 and a remaining battery power1815-1 of the electronic device 1801 on at least a portion of touchscreen 1815 when the first and second external devices are connected.

Referring to FIG. 19, according to an embodiment of the presentdisclosure, an electronic device may be a device (e.g., a smart pad) inwhich a touch screen 1915 is disposed in the front surface of thehousing, and the connector 1925 connectable with an external device isformed in a surface of the main body. The electronic device may beprovided with a plurality of conductive patterns (e.g., a first andsecond conductive patterns) in the housing. For example, the electronicdevice 1901 may wirelessly transmit power to a first external device1902 through the first conductive pattern, and may wirelessly receivepower from a second external device 1903 through the second conductivepattern. The electronic device 1901 may be connected with a thirdexternal device 1904 (e.g., keyboard) through the connector 1925 by awired cable 1914, and may perform an OTG function. Further, theelectronic device 1901 may display, in at least a portion of the touchscreen 1915, a content 1915-2 showing a connection device connected tothe electronic device 1901 and a remaining battery power 1915-1 of theelectronic device 1901.

Referring to FIG. 20, according to an embodiment of the presentdisclosure, an electronic device 2001 may be a device in which a touchscreen 2015 providing dual screens including a first screen 2015-1 and asecond screen 2015-2 may be disposed in the front surface of thehousing, a connector 2025 wiredly connectable with an external device isformed in a surface of a main body, and a conductive pattern may beprovided in a position of the housing corresponding to a position of oneof the first screen 2015-1 or the second screen 2015-2. The electronicdevice 2001 may wirelessly transmit power to or receive power from afirst external device 2002 (e.g., a smart watch) and may be connectedwith a second external device 2004 (e.g., a keyboard) through theconnector 2025 to perform an OTG function. The electronic device 2001may display a content displaying at least one of battery states of theelectronic device 2001 on an at least one screen (e.g., 2015-2) positionof the first screen 2015-1 or the second screen 2015-2.

FIGS. 21A, 21B, 21C, 21D, 21E, 22A, 22B, and 23 are views illustrating ascreen displayed on an electronic device according to variousembodiments of the present disclosure.

Referring to FIG. 21A, according to an embodiment of present disclosure,when a wired power supply device is connected, an electronic device maydisplay a screen 2110 indicating that the wired power supply device isconnected, and power is being wiredly received as illustrated in FIG.21A. When a wired power receiving device is connected, the electronicdevice may display a screen 2120 indicating that the wired powerreceiving device is connected, and power is being wiredly supplied asillustrated in FIG. 21B. When a wireless power supply device isconnected, the electronic device may display a screen 2130 indicatingthat the wireless power supply device is connected, and power is beingwirelessly received, as illustrated in FIG. 21C. When a wired powerreceiving device is connected, the electronic device may display ascreen 2140 indicating that the wired power receiving device isconnected, and power is being wiredly supplied as illustrated in FIG.21D. When an OTG device is connected, the electronic device may displaya screen 2150 indicating that the OTG device is connected, and an OTGfunction is performed as illustrated in FIG. 21E.

Referring to FIG. 22A, according to an embodiment of present disclosure,when an OTG device and a wireless power receiving device are connected,an electronic device may display a screen 2210 indicating that the OTGdevice and the wireless power receiving device are connected, an OTGfunction is performed, and power is being wirelessly supplied, asillustrated in FIG. 22A. When a wired power supply device and aplurality of wireless power receiving devices are connected, theelectronic device may display a screen 2220 indicating that the wiredpower supply device and the plurality of wireless power receivingdevices are connected, power is being wiredly received, and power isbeing wirelessly supplied as illustrated in FIG. 22B.

Referring to FIG. 23, according to an embodiment of present disclosure,when an external device is connected, the electronic device may display,on a screen 2310, at least one of contents 2314 including a type of theexternal device connected with a content 2312 indicating remainingbattery power of the electronic device, battery information of theconnected external device, and information of whether power is suppliedto the connected external device, or information of whether power isreceived from the connected external device.

Further, according to an embodiment of the present disclosure, when aplurality of external devices is connected, the electronic device maydisplay a content capable of adjusting a distribution of power that canbe provided to the connected external devices. For example, when theelectronic device supplies power to the respective external devicesconnected, the electronic device may display a content in which apriority of power supply can be selected and a content capable ofadjusting power provided to the respective external devices connectedthereto.

According to an embodiment of the present disclosure, when theelectronic device is not equipped with a display, or despite the displaya user cannot see a content, the electronic device may provide a contentto the external device, such that the content is displayed in theexternal device. For example, when the display of the electronic deviceis blocked by the external device, the electronic device may provide thecontent to the external device, thereby displaying the content in theexternal device.

As described above, according to an embodiment of the presentdisclosure, the electronic device receive power from a wired powersupply device or a wireless power supply device through a chargingcircuit to charge a battery. Also, the electronic device may supplypower from a battery to a wired power supply device or a wireless powersupply device. Further, the electronic device may receive power from awired power supply device through a charging circuit, a portion of whichmay be used for charging a battery and another portion of which may besupplied to an external wireless power receiving device. Further, theelectronic device may perform an OTG function through one chargingcircuit and simultaneously supply power from a battery to an externalwireless device or receive power from the external wireless device tocharge a battery. The electronic device may further perform a wirelesspower supply function through one charging circuit, in addition to awired charging, an OTG function, and a wireless charging, therebyproviding an efficient charging circuit.

Each of the aforementioned components of the electronic device mayinclude one or more parts, and a name of the part may vary with a typeof the electronic device. The electronic device in accordance withvarious embodiments of the present disclosure may include at least oneof the aforementioned components, omit some of them, or include otheradditional component(s). Some of the components may be combined into anentity, but the entity may perform the same functions as the componentsmay do.

The term ‘module’ may refer to a unit including one of hardware,software, and firmware, or a combination thereof. The term ‘module’ maybe interchangeably used with a unit, logic, logical block, component, orcircuit. The module may be a minimum unit or part of an integratedcomponent. The module may be a minimum unit or part of performing one ormore functions. The module may be implemented mechanically orelectronically. For example, the module may include at least one ofapplication specific integrated circuit (ASIC) chips, field programmablegate arrays (FPGAs), or programmable logic arrays (PLAs) that performsome operations, which have already been known or will be developed inthe future.

According to an embodiment of the present disclosure, at least a part ofthe device (e.g., modules or their functions) or method (e.g.,operations) may be implemented as instructions stored in acomputer-readable storage medium e.g., in the form of a program module.The instructions, when executed by a processor (e.g., the processor120), may enable the processor to carry out a corresponding function.The computer-readable storage medium may be e.g., the memory 130.

The computer-readable storage medium may include a hardware device, suchas hard discs, floppy discs, and magnetic tapes (e.g., a magnetic tape),optical media such as compact disc ROMs (CD-ROMs) and DVDs,magneto-optical media such as optical disks, ROMs, RAMs, flash memories,and/or the like. Examples of the program instructions may include notonly machine language codes but also high-level language codes which areexecutable by various computing means using an interpreter. Theaforementioned hardware devices may be configured to operate as one ormore software modules to carry out various embodiments of the presentdisclosure, and vice versa.

As is apparent from the foregoing description, according to anembodiment of the present disclosure, an electronic device may receivepower from a wired or wireless charging device to charge a batterythrough a charging circuit. The electronic device may supply power ofthe battery to a wired or wireless charging device.

According to an embodiment of the present disclosure, an electronicdevice may receive power through a charging circuit, a portion of whichmay be used for charging a battery of the electronic device and anotherportion of which may be supplied to an external wireless power receivingdevice.

According to an embodiment of the present disclosure, an electronicdevice may receive power from an external wireless device to charge abattery, or may supply power of a battery to an external wireless devicethrough a charging circuit, while performing an OTG function.

According to an embodiment of the present disclosure, an electronicdevice may perform a wireless power supply function through a chargingcircuit, in addition to a wired charging, an OTG function, and awireless charging, thereby providing an efficient charging circuit.

Modules or programming modules in accordance with various embodiments ofthe Modules or programming modules in accordance with variousembodiments of the present disclosure may include at least one or moreof the aforementioned components, omit some of them, or further includeother additional components. Operations performed by modules,programming modules or other components in accordance with variousembodiments of the present disclosure may be carried out sequentially,simultaneously, repeatedly, or heuristically. Or Furthermore, some ofthe operations may be performed in a different order, or omitted, orinclude other additional operation(s).

While the present disclosure has been shown and described with referenceto various embodiments thereof, it will be understood by those skilledin the art that various changes in form and details may be made thereinwithout departing from the spirit and scope of the present disclosure asdefined by the appended claims and their equivalents.

What is claimed is:
 1. A portable electronic device comprising: ahousing; a battery mounted in the housing; a circuit electricallyconnected with the battery; a conductive pattern positioned in thehousing, the conductive pattern electrically connected with the circuitand adapted to wirelessly transmit power to an external device; aconnector on a surface of the housing and electrically connected withthe circuit; and a processor electrically connected with the battery,the circuit, and the connector; wherein the circuit is adapted to:electrically connect the battery with the conductive pattern towirelessly transmit power to the external device, and electricallyconnect the battery with the connector to transmit power to anotherexternal device using a wired cable through the connector to perform anOn-the-go (OTG) function, simultaneously with wirelessly transmittingpower to the external device.
 2. The portable electronic device of claim1, wherein the circuit is further adapted to: change a first voltagegenerated by the battery into a second voltage higher than the firstvoltage; transmit a portion of a current generated by the second voltageto the conductive pattern; and transmit another portion of the currentgenerated by the second voltage to the connector.
 3. The portableelectronic device of claim 1, wherein the circuit further comprises aquick charging interface adapted to charge another battery included inthe external device to a voltage level selected from a plurality ofvoltage levels; and wherein the quick charging interface is electricallyconnected with the connector or the conductive pattern.
 4. The portableelectronic device of claim 3, wherein the circuit is further adapted to:receive information on charging from the external device or the otherexternal device; and select the selected voltage level from theplurality of voltage levels based on the received information.
 5. Theportable electronic device of claim 1, wherein the circuit is furtheradapted to by wireless or by wired transmit power to the external deviceor the other external device based at least in part on a user input. 6.The portable electronic device of claim 1, further comprising: adisplay, wherein the circuit displays information related to the otherexternal device on the display based at least in part on a signalreceived from the other external device through the connector.
 7. Theportable electronic device of claim 1, wherein the circuit comprises: afirst control circuit for controlling a current flow with the otherexternal device connected through the connector; a second controlcircuit for controlling a current flow with the conductive pattern; anda third control circuit electrically connected with the first controlcircuit, the second control circuit, and the battery; and wherein thethird control circuit is adapted to: change a voltage and a current fromthe battery, and provide the voltage and the current to the firstcontrol circuit or the second control circuit.
 8. The portableelectronic device of claim 7, wherein at least one of the first controlcircuit or the second control circuit includes at least one switchingelement electrically connected between the connector or the thirdcontrol circuit and the conductive pattern.
 9. The portable electronicdevice of claim 8, wherein the at least one switching element includesat least two transistor elements connected in series between theconnector or the third control circuit and the conductive pattern. 10.The portable electronic device of claim 7, wherein the third controlcircuit includes a buck/boost converter and a logic circuit controllingthe converter.
 11. The portable electronic device of claim 10, whereinthe third control circuit further includes a charging switching circuitelectrically connected between the buck/boost converter and the battery,and wherein the logic circuit controls the charging switching circuit toprevent over-charging or over-discharging of the battery.
 12. Theportable electronic device of claim 1, further comprising: a memory,wherein the portable electronic device is connected with an externalwireless power receiving device and an OTG device, the memory stores aninstruction executed to enable the processor to allow the portableelectronic device to supply power to the external wireless powerreceiving device using the battery, and simultaneously perform the OTGfunction.
 13. The portable electronic device of claim 12, wherein theportable electronic device is connected with an external wireless powersupply device and the OTG device, the memory stores an instructionexecuted to enable the processor to allow the portable electronic deviceto receive power from the external wireless power supply device tocharge the battery, and simultaneously perform the OTG function.
 14. Theportable electronic device of claim 12, wherein the portable electronicdevice is connected with a wired power supply device and the externalwireless power receiving device, the memory stores an instructionexecuted to enable the processor to allow the portable electronic deviceto receive power from the wired power supply device to charge thebattery, and simultaneously supply power to the external wireless powerreceiving device.
 15. A portable electronic device comprising: ahousing; a display on a surface of the housing; a battery mounted in thehousing; a circuit electrically connected with the battery; a conductivepattern positioned in the housing, the conductive pattern electricallyconnected with the circuit and adapted to wirelessly transmit power toan external device; and a processor electrically connected with thedisplay, the battery, and the circuit; wherein the circuit is adaptedto: receive, via the display, based at least in part on a user input fortransmitting wirelessly power from the battery to an external device,and electrically connect the battery with the conductive pattern towirelessly transmit power to the external device.
 16. The portableelectronic device of claim 15, further comprising: a connector onanother surface of the housing and electrically connected with thecircuit, wherein the circuit is adapted to electrically connect thebattery with the connector to transmit power to another external deviceusing a wired cable through the connector to perform an On-the-go (OTG)function, simultaneously with wirelessly transmitting power to theexternal device.
 17. The portable electronic device of claim 16, whereinthe portable electronic device is connected with an external wirelesspower supply device and an OTG device, and wherein the circuit isfurther adapted to receive power from the external wireless power supplydevice to charge the battery, and simultaneously perform the OTGfunction.
 18. The portable electronic device of claim 16, wherein theportable electronic device is connected with a wired power supply deviceand an external wireless power receiving device, and wherein the circuitis further adapted to receive power from the wired power supply deviceto charge the battery, and simultaneously supply power to the externalwireless power receiving device.
 19. The portable electronic device ofclaim 16, wherein the circuit displays information related to at leastone or more external devices connected to the portable electronic deviceand remaining battery power level of the connected at least one moreexternal devices.
 20. A non-transitory machine-readable storage devicestoring instructions that, when executed by one or more processors,cause the one or more processors to perform operations comprising:determining whether a portable electronic device is connected with awireless power receiving device and an OTG device; if the wireless powerreceiving device and the OTG device are connected, electricallyconnecting a battery with a conductive pattern to wirelessly transmitpower to the wireless power receiving device, by the portable electronicdevice; and while simultaneously transmitting power wirelessly to anexternal device, electrically connecting the battery with a connector toby wired transmit power to the OTG device, by the electronic device.